Свойство | Type | Description | |
---|---|---|---|
accumAnimWeight | float | ||
cachedRelativeTransform | Axiom.MathLib.Matrix4 | ||
cachedTransform | Axiom.MathLib.Matrix4 | ||
childNodes | Axiom.Collections.NodeCollection | ||
childrenToUpdate | Axiom.Collections.NodeCollection | ||
customParams | List |
||
derivedOrientation | Axiom.MathLib.Quaternion | ||
derivedPosition | Vector3 | ||
derivedScale | Vector3 | ||
inheritOrientation | bool | ||
inheritScale | bool | ||
initialOrientation | Axiom.MathLib.Quaternion | ||
initialPosition | Vector3 | ||
initialScale | Vector3 | ||
isParentNotified | bool | ||
material | |||
name | string | ||
needChildUpdate | bool | ||
needParentUpdate | bool | ||
needRelativeTransformUpdate | bool | ||
needTransformUpdate | bool | ||
nextUnnamedNodeExtNum | long | ||
nodeMaterial | |||
nodeSubMesh | |||
orientation | Axiom.MathLib.Quaternion | ||
parent | |||
position | Vector3 | ||
rotationFromInitial | Axiom.MathLib.Quaternion | ||
scale | Vector3 | ||
scaleFromInitial | Vector3 | ||
subMesh | |||
suppressUpdateEvent | bool | ||
translationFromInitial | Vector3 |
Méthode | Description | |
---|---|---|
AddChild ( |
Adds a node to the list of children of this node.
|
|
CancelUpdate ( |
Called by children to notify their parent that they no longer need an update.
|
|
CreateChild ( ) : |
Creates a new Child node.
|
|
CreateChild ( Vector3 translate ) : |
Creates a new child node.
|
|
CreateChild ( Vector3 translate, Axiom.MathLib.Quaternion rotate ) : |
Creates a new child node.
|
|
CreateChild ( string name ) : |
Creates a new name child node.
|
|
CreateChild ( string name, Vector3 translate ) : |
Creates a new named child node.
|
|
CreateChild ( string name, Vector3 translate, Axiom.MathLib.Quaternion rotate ) : |
Creates a new named child node.
|
|
GetChild ( string name ) : |
Gets a child node by name.
|
|
GetDebugRenderable ( ) : |
||
GetDebugRenderable ( Real scaling ) : |
||
GetSquaredViewDepth ( |
|
|
GetWorldTransforms ( Axiom.MathLib.Matrix4 matrices ) : void |
|
|
HasChild ( |
Whether the specified node is a child of this node.
|
|
HasChild ( string name ) : bool |
Whether this node contains a child of the specified name
|
|
NeedUpdate ( ) : void |
To be called in the event of transform changes to this node that require its recalculation. This not only tags the node state as being 'dirty', it also requests its parent to know about its dirtiness so it will get an update next time. |
|
NeedUpdate ( bool forceParentUpdate ) : void | ||
Node ( ) : System |
|
|
Node ( string name ) : System |
|
|
OnUpdatedFromParent ( ) : void | ||
Pitch ( float degrees ) : void |
Rotate the node around the X-axis.
|
|
Pitch ( float degrees, TransformSpace relativeTo ) : void |
Rotate the node around the X-axis.
|
|
ProcessQueuedUpdates ( ) : void | ||
QueueNeedUpdate ( |
||
RemoveAllChildren ( ) : void |
Removes all child nodes attached to this node.
|
|
RemoveChild ( string name ) : |
Removes the child node with the specified name.
|
|
RemoveChild ( |
Removes the specifed node that is a child of this node.
|
|
RemoveFromParent ( ) : void |
Removes the node from parent node if any
|
|
RequestUpdate ( |
Called by children to notify their parent that they need an update.
|
|
ResetOrientation ( ) : void |
Resets the nodes orientation (local axes as world axes, no rotation).
|
|
ResetToInitialState ( ) : void |
Resets the position / orientation / scale of this node to its initial state, see SetInitialState for more info.
|
|
Roll ( float degrees ) : void |
Rotate the node around the Z-axis.
|
|
Roll ( float degrees, TransformSpace relativeTo ) : void |
Rotate the node around the Z-axis.
|
|
Rotate ( Axiom.MathLib.Quaternion rotation ) : void |
Rotate the node around an arbitrary axis using a Quaternion.
|
|
Rotate ( Axiom.MathLib.Quaternion rotation, TransformSpace relativeTo ) : void |
Rotate the node around an arbitrary axis using a Quaternion.
|
|
Rotate ( Vector3 axis, float degrees ) : void |
Rotate the node around an arbitrary axis.
|
|
Rotate ( Vector3 axis, float degrees, TransformSpace relativeTo ) : void |
Rotate the node around an arbitrary axis.
|
|
ScaleBy ( Vector3 factor ) : void |
Scales the node, combining its current scale with the passed in scaling factor. This method applies an extra scaling factor to the node's existing scale, (unlike setScale which overwrites it) combining its current scale with the new one. E.g. calling this method twice with Vector3(2,2,2) would have the same effect as setScale(Vector3(4,4,4)) if the existing scale was 1. Note that like rotations, scalings are oriented around the node's origin. |
|
SetInitialState ( ) : void |
Sets the current transform of this node to be the 'initial state' ie that position / orientation / scale to be used as a basis for delta values used in keyframe animation. You never need to call this method unless you plan to animate this node. If you do plan to animate it, call this method once you've loaded the node with its base state, ie the state on which all keyframes are based. If you never call this method, the initial state is the identity transform (do nothing) and a position of zero |
|
Translate ( Matrix3 axes, Vector3 move ) : void |
Moves the node along arbitrary axes. This method translates the node by a vector which is relative to a custom set of axes. |
|
Translate ( Matrix3 axes, Vector3 move, TransformSpace relativeTo ) : void |
Moves the node along arbitrary axes. This method translates the node by a vector which is relative to a custom set of axes. |
|
Translate ( Vector3 translate ) : void |
Moves the node along the cartesian axes. This method moves the node by the supplied vector along the world cartesian axes, i.e. along world x,y,z
|
|
Translate ( Vector3 translate, TransformSpace relativeTo ) : void |
Moves the node along the cartesian axes. This method moves the node by the supplied vector along the world cartesian axes, i.e. along world x,y,z
|
|
Yaw ( float degrees ) : void |
Rotate the node around the Y-axis.
|
|
Yaw ( float degrees, TransformSpace relativeTo ) : void |
Rotate the node around the Y-axis.
|
Méthode | Description | |
---|---|---|
CreateChildImpl ( ) : |
Must be overridden in subclasses. Specifies how a Node is created. CreateChild uses this to create a new one and add it to the list of child nodes. This allows subclasses to not have to override CreateChild and duplicate all its functionality.
|
|
CreateChildImpl ( string name ) : |
Must be overridden in subclasses. Specifies how a Node is created. CreateChild uses this to create a new one and add it to the list of child nodes. This allows subclasses to not have to override CreateChild and duplicate all its functionality.
|
|
MakeInverseTransform ( Vector3 position, Vector3 scale, Axiom.MathLib.Quaternion orientation, Axiom.MathLib.Matrix4 &destMatrix ) : void |
Internal method for building an inverse Matrix4 from orientation / scale / position. As makeTransform except it build the inverse given the same data as makeTransform, so performing -translation, 1/scale, -rotate in that order. |
|
MakeTransform ( Vector3 position, Vector3 scale, Axiom.MathLib.Quaternion orientation, Axiom.MathLib.Matrix4 &destMatrix ) : void |
Internal method for building a Matrix4 from orientation / scale / position. Transform is performed in the order scale, rotate, translation, i.e. translation is independent of orientation axes, scale does not affect size of translation, rotation and scaling are always centered on the origin. |
|
NotifyOfNewParent ( |
||
OnRename ( string oldName ) : void |
Can be overriden in derived classes to fire an event or rekey this node in the collections which contain it
|
|
RemoveChild ( |
Internal method to remove a child of this node, keeping it in the list of child nodes by option. Useful when enumerating the list of children while removing them too.
|
|
Update ( bool updateChildren, bool hasParentChanged ) : void |
Internal method to update the Node. Updates this node and any relevant children to incorporate transforms etc. Don't call this yourself unless you are writing a SceneManager implementation.
|
|
UpdateFromParent ( ) : void |
Triggers the node to update its combined transforms. This method is called internally by the engine to ask the node to update its complete transformation based on its parents derived transform.
|
|
dispose ( bool disposeManagedResources ) : void |
Class level dispose method When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !isDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // There are no unmanaged resources to release, but // if we add them, they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); } |
Méthode | Description | |
---|---|---|
Clear ( ) : void |
Simply clears the collection of children.
|
|
WeightedTransform ( float weight, Vector3 translate, Axiom.MathLib.Quaternion rotate, Vector3 scale ) : void |
This method transforms a Node by a weighted amount from its initial state. If weighted transforms have already been applied, the previous transforms and this one are blended together based on their relative weight. This method should not be used in combination with the unweighted rotate, translate etc methods.
|
|
WeightedTransform ( float weight, Vector3 translate, Axiom.MathLib.Quaternion rotate, Vector3 scale, bool lookInMovementDirection ) : void |
This method transforms a Node by a weighted amount from its initial state. If weighted transforms have already been applied, the previous transforms and this one are blended together based on their relative weight. This method should not be used in combination with the unweighted rotate, translate etc methods.
|
public CreateChild ( Vector3 translate ) : |
||
translate | Vector3 | A vector to specify the position relative to the parent. |
Résultat |
public CreateChild ( Vector3 translate, Axiom.MathLib.Quaternion rotate ) : |
||
translate | Vector3 | A vector to specify the position relative to the parent. |
rotate | Axiom.MathLib.Quaternion | A quaternion to specify the orientation relative to the parent. |
Résultat |
public CreateChild ( string name, Vector3 translate ) : |
||
name | string | Name of the node. |
translate | Vector3 | A vector to specify the position relative to the parent. |
Résultat |
public CreateChild ( string name, Vector3 translate, Axiom.MathLib.Quaternion rotate ) : |
||
name | string | Name of the node. |
translate | Vector3 | A vector to specify the position relative to the parent. |
rotate | Axiom.MathLib.Quaternion | A quaternion to specify the orientation relative to the parent. |
Résultat |
protected abstract CreateChildImpl ( ) : |
||
Résultat |
protected abstract CreateChildImpl ( string name ) : |
||
name | string | The name of the node to add. |
Résultat |
public GetDebugRenderable ( ) : |
||
Résultat |
public GetDebugRenderable ( Real scaling ) : |
||
scaling | Real | |
Résultat |
public GetSquaredViewDepth ( |
||
camera | ||
Résultat | float |
public GetWorldTransforms ( Axiom.MathLib.Matrix4 matrices ) : void | ||
matrices | Axiom.MathLib.Matrix4 | |
Résultat | void |
protected MakeInverseTransform ( Vector3 position, Vector3 scale, Axiom.MathLib.Quaternion orientation, Axiom.MathLib.Matrix4 &destMatrix ) : void | ||
position | Vector3 | |
scale | Vector3 | |
orientation | Axiom.MathLib.Quaternion | |
destMatrix | Axiom.MathLib.Matrix4 | |
Résultat | void |
protected MakeTransform ( Vector3 position, Vector3 scale, Axiom.MathLib.Quaternion orientation, Axiom.MathLib.Matrix4 &destMatrix ) : void | ||
position | Vector3 | |
scale | Vector3 | |
orientation | Axiom.MathLib.Quaternion | |
destMatrix | Axiom.MathLib.Matrix4 | |
Résultat | void |
public NeedUpdate ( bool forceParentUpdate ) : void | ||
forceParentUpdate | bool | |
Résultat | void |
protected NotifyOfNewParent ( |
||
newParent | ||
Résultat | void |
protected OnRename ( string oldName ) : void | ||
oldName | string | |
Résultat | void |
public Pitch ( float degrees, TransformSpace relativeTo ) : void | ||
degrees | float | |
relativeTo | TransformSpace | |
Résultat | void |
public static ProcessQueuedUpdates ( ) : void | ||
Résultat | void |
public static QueueNeedUpdate ( |
||
node | ||
Résultat | void |
public RemoveChild ( string name ) : |
||
name | string | Name of the child node |
Résultat |
protected RemoveChild ( |
||
child | ||
removeFromInternalList | bool | |
Résultat | void |
public Roll ( float degrees, TransformSpace relativeTo ) : void | ||
degrees | float | |
relativeTo | TransformSpace | |
Résultat | void |
public Rotate ( Axiom.MathLib.Quaternion rotation ) : void | ||
rotation | Axiom.MathLib.Quaternion | |
Résultat | void |
public Rotate ( Axiom.MathLib.Quaternion rotation, TransformSpace relativeTo ) : void | ||
rotation | Axiom.MathLib.Quaternion | |
relativeTo | TransformSpace | |
Résultat | void |
public Rotate ( Vector3 axis, float degrees ) : void | ||
axis | Vector3 | |
degrees | float | |
Résultat | void |
public Rotate ( Vector3 axis, float degrees, TransformSpace relativeTo ) : void | ||
axis | Vector3 | |
degrees | float | |
relativeTo | TransformSpace | |
Résultat | void |
public Translate ( Matrix3 axes, Vector3 move ) : void | ||
axes | Matrix3 | 3x3 Matrix containg 3 column vectors each representing the /// X, Y and Z axes respectively. In this format the standard cartesian axes would be expressed as: /// 1 0 0 /// 0 1 0 /// 0 0 1 /// i.e. The Identity matrix. /// |
move | Vector3 | Vector relative to the supplied axes. |
Résultat | void |
public Translate ( Matrix3 axes, Vector3 move, TransformSpace relativeTo ) : void | ||
axes | Matrix3 | 3x3 Matrix containg 3 column vectors each representing the /// X, Y and Z axes respectively. In this format the standard cartesian axes would be expressed as: /// 1 0 0 /// 0 1 0 /// 0 0 1 /// i.e. The Identity matrix. /// |
move | Vector3 | Vector relative to the supplied axes. |
relativeTo | TransformSpace | |
Résultat | void |
public Translate ( Vector3 translate ) : void | ||
translate | Vector3 | Vector with x,y,z values representing the translation. |
Résultat | void |
public Translate ( Vector3 translate, TransformSpace relativeTo ) : void | ||
translate | Vector3 | Vector with x,y,z values representing the translation. |
relativeTo | TransformSpace | |
Résultat | void |
protected Update ( bool updateChildren, bool hasParentChanged ) : void | ||
updateChildren | bool | If true, the update cascades down to all children. Specify false if you wish to /// update children separately, e.g. because of a more selective SceneManager implementation. |
hasParentChanged | bool | if true then this will update its derived properties (scale, orientation, position) accoarding to the parent's |
Résultat | void |
public Yaw ( float degrees, TransformSpace relativeTo ) : void | ||
degrees | float | |
relativeTo | TransformSpace | |
Résultat | void |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | True if Unmanaged resources should be released. |
Résultat | void |
protected Matrix4,Axiom.MathLib cachedRelativeTransform | ||
Résultat | Axiom.MathLib.Matrix4 |
protected Matrix4,Axiom.MathLib cachedTransform | ||
Résultat | Axiom.MathLib.Matrix4 |
protected NodeCollection,Axiom.Collections childNodes | ||
Résultat | Axiom.Collections.NodeCollection |
protected NodeCollection,Axiom.Collections childrenToUpdate | ||
Résultat | Axiom.Collections.NodeCollection |
protected Quaternion,Axiom.MathLib derivedOrientation | ||
Résultat | Axiom.MathLib.Quaternion |
protected Quaternion,Axiom.MathLib initialOrientation | ||
Résultat | Axiom.MathLib.Quaternion |
protected static Material,Axiom.Graphics material | ||
Résultat |
protected bool needRelativeTransformUpdate | ||
Résultat | bool |
protected static long nextUnnamedNodeExtNum | ||
Résultat | long |
protected Material,Axiom.Graphics nodeMaterial | ||
Résultat |
protected Quaternion,Axiom.MathLib orientation | ||
Résultat | Axiom.MathLib.Quaternion |
protected Quaternion,Axiom.MathLib rotationFromInitial | ||
Résultat | Axiom.MathLib.Quaternion |
protected static SubMesh,Axiom.Core subMesh | ||
Résultat |