Class MyObjectBuilder_AnimationTreeNodeMix1D
Linear mixing node. Maps child nodes on 1D axis, interpolates according to parameter value.
Inheritance
System.Object
MyObjectBuilder_AnimationTreeNodeMix1D
Inherited Members
Namespace: VRage.Game.ObjectBuilders
Assembly: VRage.Game.dll
Syntax
[MyObjectBuilderDefinition]
public class MyObjectBuilder_AnimationTreeNodeMix1D : MyObjectBuilder_AnimationTreeNode
Constructors
MyObjectBuilder_AnimationTreeNodeMix1D()
Declaration
public MyObjectBuilder_AnimationTreeNodeMix1D()
Fields
Children
Mapping children to axis. Each child has assigned its value.
Declaration
public MyParameterAnimTreeNodeMapping[] Children
Field Value
Type | Description |
---|---|
MyParameterAnimTreeNodeMapping[] |
Circular
True if the value wraps around.
Declaration
public bool Circular
Field Value
Type | Description |
---|---|
System.Boolean |
MaxChange
Threshold: maximum change of variable to take sensitivity in account, if crossed, value is set immediatelly.
Declaration
public Nullable<float> MaxChange
Field Value
Type | Description |
---|---|
System.Nullable<System.Single> |
ParameterName
Name of parameter controlling blending inside this node.
Declaration
public string ParameterName
Field Value
Type | Description |
---|---|
System.String |
Sensitivity
Sensitivity to changes of parameter value. 1=immediate change, 0=no sensitivity.
Declaration
public float Sensitivity
Field Value
Type | Description |
---|---|
System.Single |
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[] |