Class Node3D
- Namespace
- Lime
- Assembly
- Lime.dll
[TangerineAllowedParentTypes(new Type[] { typeof(Node3D), typeof(Viewport3D) })]
[TangerineAllowedChildrenTypes(new Type[] { typeof(Node) })]
[TangerineMenuPath("3D/Node 3D")]
[TangerineVisualHintGroup("/All/Nodes/Containers", null)]
public class Node3D : Node, IDisposable, IAnimatorHost, IRenderChainBuilder, IAnimable, ICloneable
- Inheritance
-
Node3D
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
Node3D()
public Node3D()
Fields
globalColor
protected Color4 globalColor
Field Value
globalTransform
protected Matrix44 globalTransform
Field Value
globalTransformInverse
protected Matrix44 globalTransformInverse
Field Value
globallyFreezeInvisible
protected bool globallyFreezeInvisible
Field Value
globallyVisible
protected bool globallyVisible
Field Value
localTransform
protected Matrix44 localTransform
Field Value
Properties
Color
[YuzuMember]
[TangerineKeyframeColor(9)]
public Color4 Color { get; set; }
Property Value
FreezeInvisible
[YuzuMember]
[TangerineKeyframeColor(19)]
public bool FreezeInvisible { get; set; }
Property Value
GlobalColor
public Color4 GlobalColor { get; }
Property Value
GlobalTransform
public Matrix44 GlobalTransform { get; }
Property Value
GlobalTransformInverse
public Matrix44 GlobalTransformInverse { get; }
Property Value
GloballyVisible
public bool GloballyVisible { get; }
Property Value
LocalTransform
public Matrix44 LocalTransform { get; }
Property Value
Opaque
[YuzuMember]
[TangerineKeyframeColor(21)]
public bool Opaque { get; set; }
Property Value
Position
[YuzuMember]
[TangerineKeyframeColor(25)]
public Vector3 Position { get; set; }
Property Value
Rotation
[YuzuMember]
[TangerineKeyframeColor(4)]
public Quaternion Rotation { get; set; }
Property Value
Scale
[YuzuMember]
[TangerineKeyframeColor(24)]
public Vector3 Scale { get; set; }
Property Value
Viewport
public Viewport3D Viewport { get; }
Property Value
Visible
[YuzuMember]
[TangerineKeyframeColor(19)]
public bool Visible { get; set; }
Property Value
Methods
AddToRenderChain(RenderChain)
Decides what descendant nodes should be added to render chain and under which conditions. This includes children Nodes as well as this Node itself. i.e. if you want Render() of this node to be called you should invoke AddSelfToRenderChain in AddToRenderChain override.
public override void AddToRenderChain(RenderChain chain)
Parameters
chain
RenderChain
CalcTransformInSpaceOf(Node3D)
public Matrix44 CalcTransformInSpaceOf(Node3D node)
Parameters
node
Node3D
Returns
FindModel()
public Model3D FindModel()
Returns
RecalcGloballyFrozen()
protected override void RecalcGloballyFrozen()
SetGlobalTransform(Matrix44)
public void SetGlobalTransform(Matrix44 transform)
Parameters
transform
Matrix44
SetGlobalTransformInverse(Matrix44)
public void SetGlobalTransformInverse(Matrix44 transform)
Parameters
transform
Matrix44
SetLocalTransform(Matrix44)
public void SetLocalTransform(Matrix44 transform)
Parameters
transform
Matrix44
TryFindModel()
public Model3D TryFindModel()