Show / Hide Table of Contents

Class Model.VisualNode

Inheritance
System.Object
Model.VisualNode
Implements
IMeshObject
ISceneObject
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Parts
Assembly: Experior.Core.dll
Syntax
public class VisualNode : IMeshObject, ISceneObject

Constructors

VisualNode(Model, IMeshData, Matrix4x4, String, Color, Int32)

Declaration
public VisualNode(Model parent, IMeshData meshData, Matrix4x4 localTransform, string name, Color color, int textureId)
Parameters
Type Name Description
Model parent
IMeshData meshData
System.Numerics.Matrix4x4 localTransform
System.String name
System.Windows.Media.Color color
System.Int32 textureId

Properties

Color

Declaration
public Color Color { get; set; }
Property Value
Type Description
System.Windows.Media.Color

ColorArgb

Declaration
public int ColorArgb { get; }
Property Value
Type Description
System.Int32

Id

Declaration
public uint Id { get; }
Property Value
Type Description
System.UInt32

LocalOrientation

Declaration
public Matrix4x4 LocalOrientation { get; }
Property Value
Type Description
System.Numerics.Matrix4x4

LocalPosition

Declaration
public Vector3 LocalPosition { get; }
Property Value
Type Description
System.Numerics.Vector3

LocalTransformation

Declaration
public Matrix4x4 LocalTransformation { get; set; }
Property Value
Type Description
System.Numerics.Matrix4x4

MeshData

Declaration
public IMeshData MeshData { get; }
Property Value
Type Description
IMeshData

Name

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Orientation

Declaration
public Matrix4x4 Orientation { get; }
Property Value
Type Description
System.Numerics.Matrix4x4

Parent

Declaration
public Model Parent { get; }
Property Value
Type Description
Model

Position

Declaration
public Vector3 Position { get; }
Property Value
Type Description
System.Numerics.Vector3

Scale

Declaration
public Vector3 Scale { get; }
Property Value
Type Description
System.Numerics.Vector3

SceneLayer

Declaration
[Browsable(false)]
public string SceneLayer { get; set; }
Property Value
Type Description
System.String

StaticGeometry

Declaration
public bool StaticGeometry { get; }
Property Value
Type Description
System.Boolean

TextureId

Declaration
public int TextureId { get; }
Property Value
Type Description
System.Int32

Transformation

Declaration
public Matrix4x4 Transformation { get; }
Property Value
Type Description
System.Numerics.Matrix4x4

Visible

Declaration
public bool Visible { get; set; }
Property Value
Type Description
System.Boolean

Methods

Deselect()

Declaration
public void Deselect()

Dispose()

Declaration
public void Dispose()

Highlight(Color)

Declaration
public void Highlight(Color c)
Parameters
Type Name Description
System.Windows.Media.Color c

Select(Color)

Declaration
public void Select(Color c)
Parameters
Type Name Description
System.Windows.Media.Color c

Unhighlight()

Declaration
public void Unhighlight()

Implements

IMeshObject
ISceneObject
Back to top Generated by DocFX