Class AnimSingleNodeInstance
Anim Single Node Instance
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class AnimSingleNodeInstance : AnimInstance
Properties
| Improve this Doc View SourceCurrentAsset
Current Asset being played *
Declaration
public AnimationAsset CurrentAsset { get; set; }
Property Value
Type | Description |
---|---|
AnimationAsset |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static AnimSingleNodeInstance DefaultObject { get; }
Property Value
Type | Description |
---|---|
AnimSingleNodeInstance |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceGetAnimationAsset()
Get the currently used asset
Declaration
public AnimationAsset GetAnimationAsset()
Returns
Type | Description |
---|---|
AnimationAsset |
GetLength()
Get Length
Declaration
public float GetLength()
Returns
Type | Description |
---|---|
System.Single |
New(UObject, Name)
Spawn an object of this class
Declaration
public static AnimSingleNodeInstance New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
AnimSingleNodeInstance |
PlayAnim(Boolean, Single, Single)
For AnimSequence specific *
Declaration
public void PlayAnim(bool bIsLooping, float InPlayRate, float InStartPosition)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bIsLooping | |
System.Single | InPlayRate | |
System.Single | InStartPosition |
SetAnimationAsset(AnimationAsset, Boolean, Single)
Set New Asset - calls InitializeAnimation, for now we need MeshComponent *
Declaration
public void SetAnimationAsset(AnimationAsset NewAsset, bool bIsLooping, float InPlayRate)
Parameters
Type | Name | Description |
---|---|---|
AnimationAsset | NewAsset | |
System.Boolean | bIsLooping | |
System.Single | InPlayRate |
SetBlendSpaceInput(Vector)
Set Blend Space Input
Declaration
public void SetBlendSpaceInput(Vector InBlendInput)
Parameters
Type | Name | Description |
---|---|---|
Vector | InBlendInput |
SetLooping(Boolean)
Set Looping
Declaration
public void SetLooping(bool bIsLooping)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bIsLooping |
SetPlaying(Boolean)
Set Playing
Declaration
public void SetPlaying(bool bIsPlaying)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bIsPlaying |
SetPlayRate(Single)
Set Play Rate
Declaration
public void SetPlayRate(float InPlayRate)
Parameters
Type | Name | Description |
---|---|---|
System.Single | InPlayRate |
SetPosition(Single, Boolean)
Set Position
Declaration
public void SetPosition(float InPosition, bool bFireNotifies)
Parameters
Type | Name | Description |
---|---|---|
System.Single | InPosition | |
System.Boolean | bFireNotifies |
SetPositionWithPreviousTime(Single, Single, Boolean)
Set Position with Previous Time
Declaration
public void SetPositionWithPreviousTime(float InPosition, float InPreviousTime, bool bFireNotifies)
Parameters
Type | Name | Description |
---|---|---|
System.Single | InPosition | |
System.Single | InPreviousTime | |
System.Boolean | bFireNotifies |
SetPreviewCurveOverride(Name, Single, Boolean)
Set pose value
Declaration
public void SetPreviewCurveOverride(Name PoseName, float Value, bool bRemoveIfZero)
Parameters
Type | Name | Description |
---|---|---|
Name | PoseName | |
System.Single | Value | |
System.Boolean | bRemoveIfZero |
SetReverse(Boolean)
Set Reverse
Declaration
public void SetReverse(bool bInReverse)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bInReverse |
StopAnim()
Stop Anim
Declaration
public void StopAnim()
Operators
| Improve this Doc View SourceImplicit(IntPtr to AnimSingleNodeInstance)
Convert from IntPtr to UObject
Declaration
public static implicit operator AnimSingleNodeInstance(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
AnimSingleNodeInstance |