| Description | Hierarchy | Fields | Methods | Properties |
type TSceneNodeAnimatorFactory = class(TReferenceCounted)
Class for dynamic creation of scene node animators.
![]() |
function CreateAnimator(AType: TSceneNodeAnimatorType; Target: TSceneNode): TSceneNodeAnimator; overload; inline; |
![]() |
function CreateAnimator(const TypeName: AnsiString; Target: TSceneNode): TSceneNodeAnimator; overload; inline; |
![]() |
function GetTypeName(AType: TSceneNodeAnimatorType): AnsiString; inline; |
![]() |
property CreatableTypeCount: LongWord read GetCreatableTypeCount; |
![]() |
property CreatableTypeNames[Index: LongWord]: AnsiString read GetCreatableTypeName; |
![]() |
property CreatableTypes[Index: LongWord]: TSceneNodeAnimatorType read GetCreatableType; |
![]() |
function CreateAnimator(AType: TSceneNodeAnimatorType; Target: TSceneNode): TSceneNodeAnimator; overload; inline; |
|
Creates a scene node animator based on its type id. AType Type of the scene node animator to add. Target Target scene node of the new animator. ReturnsThe new scene node animator or nil if not successful. You need to drop this pointer after calling this, see TReferenceCounted.Drop() for details. | |
![]() |
function CreateAnimator(const TypeName: AnsiString; Target: TSceneNode): TSceneNodeAnimator; overload; inline; |
|
Creates a scene node animator based on its type name. Parameters
ReturnsThe new scene node animator or nil if unsuccessful. You need to drop this pointer after calling this, see TReferenceCounted.Drop() for details. | |
![]() |
function GetTypeName(AType: TSceneNodeAnimatorType): AnsiString; inline; |
|
Returns the type name of a TSceneNodeAnimatorType. ReturnsThe name if the given animator type is creatable, else ''. | |
![]() |
property CreatableTypeCount: LongWord read GetCreatableTypeCount; |
![]() |
property CreatableTypeNames[Index: LongWord]: AnsiString read GetCreatableTypeName; |
|
Holds the type names of all creatable scene animators. | |
![]() |
property CreatableTypes[Index: LongWord]: TSceneNodeAnimatorType read GetCreatableType; |
|
Holds the types of all creatable scene animators. | |