Class Model
Inheritance
System.Object
Model
Implements
System.IDisposable
Inherited Members
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 Model : Static, IStatic, IRigidPart, IDisposable, IMeshObject, ISceneObject
Constructors
Model(EmbeddedResource)
Declaration
public Model(EmbeddedResource e)
Parameters
Model(String)
Declaration
public Model(string filename)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
Properties
Color
Declaration
public override Color Color { get; set; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
Overrides
EmbeddedResource
Declaration
public EmbeddedResource EmbeddedResource { get; }
Property Value
Filename
Declaration
public string Filename { get; }
Property Value
Type |
Description |
System.String |
|
Height
Declaration
public float Height { get; set; }
Property Value
Type |
Description |
System.Single |
|
Length
Declaration
public float Length { get; set; }
Property Value
Type |
Description |
System.Single |
|
Nodes
Declaration
public IReadOnlyList<Model.Node> Nodes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<Model.Node> |
|
RootNode
Declaration
public Model.Node RootNode { get; }
Property Value
SceneLayer
Declaration
public override string SceneLayer { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
StaticGeometry
Declaration
public override bool StaticGeometry { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Visible
Declaration
public override bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
VisualNodes
Declaration
public IReadOnlyCollection<Model.VisualNode> VisualNodes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<Model.VisualNode> |
|
Width
Declaration
public float Width { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
Deselect()
Declaration
public override void Deselect()
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
Declaration
public override void Highlight(Color c)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
c |
|
Overrides
Pick(Vector3, Vector3)
Declaration
public override PickResult Pick(Vector3 rayStart, Vector3 rayDirection)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
rayStart |
|
System.Numerics.Vector3 |
rayDirection |
|
Returns
Overrides
Declaration
public override void Select(Color c)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
c |
|
Overrides
Declaration
protected override void SetTransformDirty()
Overrides
UnHighlight()
Declaration
public override void UnHighlight()
Overrides
Implements
System.IDisposable