Class MyObjectBuilder_AnimationTreeNode
Base class of all object builders of animation tree nodes.
Inheritance
System.Object
MyObjectBuilder_AnimationTreeNode
Inherited Members
Namespace: VRage.Game.ObjectBuilders
Assembly: VRage.Game.dll
Syntax
[MyObjectBuilderDefinition]
public abstract class MyObjectBuilder_AnimationTreeNode : MyObjectBuilder_Base
Constructors
MyObjectBuilder_AnimationTreeNode()
Declaration
protected MyObjectBuilder_AnimationTreeNode()
Fields
EdPos
Position in editor.
Declaration
public Nullable<Vector2I> EdPos
Field Value
Type | Description |
---|---|
System.Nullable<Vector2I> |
EventNames
Declaration
public List<string> EventNames
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
EventTimes
Declaration
public List<double> EventTimes
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Double> |
Key
Declaration
public string Key
Field Value
Type | Description |
---|---|
System.String |
Methods
DeepCopyWithMask(HashSet<MyObjectBuilder_AnimationTreeNode>, MyObjectBuilder_AnimationTreeNode, List<MyObjectBuilder_AnimationTreeNode>)
Create deep copy of this node and its children.
Declaration
protected abstract 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 | the mask |
MyObjectBuilder_AnimationTreeNode | parentNode | link to the parent node |
System.Collections.Generic.List<MyObjectBuilder_AnimationTreeNode> | orphans | link to list of orphaned nodes |
Returns
Type | Description |
---|---|
MyObjectBuilder_AnimationTreeNode | copied hierarchy |
GetChildren()
Get the child nodes of this node.
Declaration
public abstract MyObjectBuilder_AnimationTreeNode[] GetChildren()
Returns
Type | Description |
---|---|
MyObjectBuilder_AnimationTreeNode[] |