Class MyObjectBuilder_AnimationTreeNodeTrack
Track node, storing information about track and playing settings.
Inheritance
System.Object
MyObjectBuilder_AnimationTreeNodeTrack
Inherited Members
Namespace: VRage.Game.ObjectBuilders
Assembly: VRage.Game.dll
Syntax
[MyObjectBuilderDefinition]
public class MyObjectBuilder_AnimationTreeNodeTrack : MyObjectBuilder_AnimationTreeNode
Constructors
MyObjectBuilder_AnimationTreeNodeTrack()
Declaration
public MyObjectBuilder_AnimationTreeNodeTrack()
Fields
AnimationName
Name of used track (animation) in MWM file.
Declaration
public string AnimationName
Field Value
Type | Description |
---|---|
System.String |
Interpolate
Interpolate between keyframes. If false, track will be played frame by frame.
Declaration
public bool Interpolate
Field Value
Type | Description |
---|---|
System.Boolean |
Loop
If true, animation will be looped. Default value is true.
Declaration
public bool Loop
Field Value
Type | Description |
---|---|
System.Boolean |
PathToModel
Path to MWM file.
Declaration
public string PathToModel
Field Value
Type | Description |
---|---|
System.String |
Speed
Playing speed multiplier.
Declaration
public double Speed
Field Value
Type | Description |
---|---|
System.Double |
SynchronizeWithLayer
Synchronize time in this track with the specified layer.
Declaration
public string SynchronizeWithLayer
Field Value
Type | Description |
---|---|
System.String |
Methods
DeepCopyWithMask(HashSet<MyObjectBuilder_AnimationTreeNode>, MyObjectBuilder_AnimationTreeNode, List<MyObjectBuilder_AnimationTreeNode>)
Declaration
protected override MyObjectBuilder_AnimationTreeNode DeepCopyWithMask(HashSet<MyObjectBuilder_AnimationTreeNode> selectedNodes, MyObjectBuilder_AnimationTreeNode parentNode, List<MyObjectBuilder_AnimationTreeNode> orphans)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.HashSet<MyObjectBuilder_AnimationTreeNode> | selectedNodes | |
MyObjectBuilder_AnimationTreeNode | parentNode | |
System.Collections.Generic.List<MyObjectBuilder_AnimationTreeNode> | orphans |
Returns
Type | Description |
---|---|
MyObjectBuilder_AnimationTreeNode |
Overrides
GetChildren()
Declaration
public override MyObjectBuilder_AnimationTreeNode[] GetChildren()
Returns
Type | Description |
---|---|
MyObjectBuilder_AnimationTreeNode[] |