Class TMFFloat
Unit
Declaration
type TMFFloat = class(specialize TX3DSimpleMultField<Single,TSFFloat,TSingleList>)
Description
X3D field with multiple floating-point values.
Source: src/scene/x3d/castlefields_x3dsimplemultfield_descendants.inc (line 293).
Hierarchy
- TObject
- TPersistent
- TX3DFileItem
- TX3DFieldOrEvent
- TX3DField
- TX3DMultField
- TX3DSimpleMultField
- TMFFloat
Overview
Methods
![]() |
procedure AssignLerp(const A: Double; Value1, Value2: TX3DField); override; |
![]() |
function CanAssignLerp: boolean; override; |
![]() |
class function X3DType: String; override; |
![]() |
class function CreateEvent(const AParentNode: TX3DFileItem; const AName: String; const AInEvent: boolean): TX3DEvent; override; |
Properties
![]() |
property Angle: boolean read FAngle write FAngle default false; |
Description
Methods
![]() |
procedure AssignLerp(const A: Double; Value1, Value2: TX3DField); override; |
|
This item has no description. Showing description inherited from TX3DField.AssignLerp. Assigns value to this node calculated from linear interpolation between two given nodes Value1, Value2. Just like other lerp functions in our units (like CastleVectors.Lerp). Like AssignValue, this copies only the current value. All other properties (like Name, IsClauseNames, ValueFromIsClause, default value) are untouched. There are some special precautions for this:
Source: src/scene/x3d/castlefields_x3dsimplemultfield_descendants.inc (line 311). | |
![]() |
function CanAssignLerp: boolean; override; |
|
This item has no description. Showing description inherited from TX3DField.CanAssignLerp. Is AssignLerp usable on this field type? Descendants implementors notes: In this class, this always returns Source: src/scene/x3d/castlefields_x3dsimplemultfield_descendants.inc (line 312). | |
![]() |
class function X3DType: String; override; |
|
This item has no description. Showing description inherited from TX3DField.X3DType.
Field type in X3D, like Source: src/scene/x3d/castlefields_x3dsimplemultfield_descendants.inc (line 313). | |
![]() |
class function CreateEvent(const AParentNode: TX3DFileItem; const AName: String; const AInEvent: boolean): TX3DEvent; override; |
|
This item has no description. Showing description inherited from TX3DField.CreateEvent. Create TX3DEvent descendant suitable as exposed event for this field. Source: src/scene/x3d/castlefields_x3dsimplemultfield_descendants.inc (line 314). | |
Properties
![]() |
property Angle: boolean read FAngle write FAngle default false; |
|
Value represents an angle. When reading from X3D 3.3 file, we will make sure it's expressed in radians, honoring optional "UNIT angle ..." declaration in X3D file. Source: src/scene/x3d/castlefields_x3dsimplemultfield_descendants.inc (line 309). | |
Generated by PasDoc 0.17.0.snapshot.
