Class Model.VisualNode
Inheritance
System.Object
Model.VisualNode
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()
Assembly: Experior.Core.dll
Syntax
public class VisualNode : IMeshObject, ISceneObject
Constructors
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
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 |
|
Declaration
public Matrix4x4 LocalTransformation { get; set; }
Property Value
Type |
Description |
System.Numerics.Matrix4x4 |
|
MeshData
Declaration
public IMeshData MeshData { get; }
Property Value
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
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 |
|
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
Dispose()
Declaration
Declaration
public void Highlight(Color c)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
c |
|
Declaration
public void Select(Color c)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
c |
|
Unhighlight()
Declaration
public void Unhighlight()
Implements