Show / Hide Table of Contents

Class RigidPart

Inheritance
System.Object
RigidPart
Dynamic
Static
Implements
IRigidPart
System.IDisposable
IMeshObject
ISceneObject
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()
Namespace: Experior.Core.Parts
Assembly: Experior.Core.dll
Syntax
public abstract class RigidPart : IRigidPart, IDisposable, IMeshObject, ISceneObject

Constructors

RigidPart()

Declaration
protected RigidPart()

Fields

color

Declaration
protected Color color
Field Value
Type Description
System.Windows.Media.Color

highLightColor

Declaration
protected Color highLightColor
Field Value
Type Description
System.Windows.Media.Color

highlighted

Declaration
protected bool highlighted
Field Value
Type Description
System.Boolean

meshData

Declaration
protected IMeshData meshData
Field Value
Type Description
IMeshData

orientation

Declaration
protected Matrix4x4 orientation
Field Value
Type Description
System.Numerics.Matrix4x4

pitch

Declaration
protected float pitch
Field Value
Type Description
System.Single

position

Declaration
protected Vector3 position
Field Value
Type Description
System.Numerics.Vector3

roll

Declaration
protected float roll
Field Value
Type Description
System.Single

scale

Declaration
protected Vector3 scale
Field Value
Type Description
System.Numerics.Vector3

sceneLayer

Declaration
protected string sceneLayer
Field Value
Type Description
System.String

selectColor

Declaration
protected Color selectColor
Field Value
Type Description
System.Windows.Media.Color

selected

Declaration
protected bool selected
Field Value
Type Description
System.Boolean

transformDirty

Declaration
protected volatile bool transformDirty
Field Value
Type Description
System.Boolean

visible

Declaration
protected bool visible
Field Value
Type Description
System.Boolean

yaw

Declaration
protected float yaw
Field Value
Type Description
System.Single

Properties

Color

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

ColorArgb

Declaration
[Browsable(false)]
public int ColorArgb { get; }
Property Value
Type Description
System.Int32

Configured

Declaration
[Browsable(false)]
public bool Configured { get; }
Property Value
Type Description
System.Boolean

Disposed

Declaration
[Browsable(false)]
public bool Disposed { get; }
Property Value
Type Description
System.Boolean

Disposing

Declaration
[Browsable(false)]
public bool Disposing { get; set; }
Property Value
Type Description
System.Boolean

Dragable

Declaration
[Browsable(false)]
public virtual bool Dragable { get; set; }
Property Value
Type Description
System.Boolean

Enabled

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

Friction

Declaration
[Browsable(false)]
public virtual IFriction Friction { get; set; }
Property Value
Type Description
IFriction

Id

Declaration
[Browsable(false)]
public virtual uint Id { get; }
Property Value
Type Description
System.UInt32

LocalCoordinateSystem

Declaration
[Browsable(false)]
public CoordinateSystem LocalCoordinateSystem { get; set; }
Property Value
Type Description
CoordinateSystem

LocalOrientation

Declaration
[Browsable(false)]
public Matrix4x4 LocalOrientation { get; set; }
Property Value
Type Description
System.Numerics.Matrix4x4

LocalPitch

Declaration
[Browsable(false)]
public float LocalPitch { get; set; }
Property Value
Type Description
System.Single

LocalPosition

Declaration
[Browsable(false)]
public virtual Vector3 LocalPosition { get; set; }
Property Value
Type Description
System.Numerics.Vector3

LocalRoll

Declaration
[Browsable(false)]
public float LocalRoll { get; set; }
Property Value
Type Description
System.Single

LocalYaw

Declaration
[Browsable(false)]
public float LocalYaw { get; set; }
Property Value
Type Description
System.Single

MaterialDisabled

Declaration
[Browsable(false)]
public bool MaterialDisabled { get; }
Property Value
Type Description
System.Boolean

MeshData

Declaration
[Browsable(false)]
public IMeshData MeshData { get; }
Property Value
Type Description
IMeshData

Name

Declaration
[PropertyOrder(1)]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Orientation

Declaration
[Browsable(false)]
public virtual Matrix4x4 Orientation { get; set; }
Property Value
Type Description
System.Numerics.Matrix4x4

Parent

Declaration
[Browsable(false)]
public virtual IEntity Parent { get; protected set; }
Property Value
Type Description
IEntity

Pitch

Declaration
public abstract float Pitch { get; set; }
Property Value
Type Description
System.Single

Position

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

Roll

Declaration
public abstract float Roll { get; set; }
Property Value
Type Description
System.Single

Scale

Declaration
[Browsable(false)]
public Vector3 Scale { get; }
Property Value
Type Description
System.Numerics.Vector3

SceneLayer

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

Selectable

Declaration
[Browsable(false)]
public bool Selectable { get; set; }
Property Value
Type Description
System.Boolean

Selected

Declaration
[Browsable(false)]
public virtual bool Selected { get; set; }
Property Value
Type Description
System.Boolean

StaticGeometry

Declaration
[Browsable(false)]
public virtual bool StaticGeometry { get; }
Property Value
Type Description
System.Boolean

TextureId

Declaration
[Browsable(false)]
public virtual int TextureId { get; }
Property Value
Type Description
System.Int32

Transformation

Declaration
[Browsable(false)]
public Matrix4x4 Transformation { get; }
Property Value
Type Description
System.Numerics.Matrix4x4

UserData

Declaration
[Browsable(false)]
public object UserData { get; set; }
Property Value
Type Description
System.Object

UserSelected

Declaration
[Browsable(false)]
public virtual bool UserSelected { get; }
Property Value
Type Description
System.Boolean

Visible

Declaration
[Browsable(false)]
public virtual bool Visible { get; set; }
Property Value
Type Description
System.Boolean

Yaw

Declaration
public abstract float Yaw { get; set; }
Property Value
Type Description
System.Single

Methods

Deselect()

Declaration
public virtual void Deselect()

Dispose()

Declaration
public virtual void Dispose()

Highlight(Color)

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

LocalAngularMovement(Vector3, Vector3)

Declaration
public void LocalAngularMovement(Vector3 angularVelocity, Vector3 radiansToRotate)
Parameters
Type Name Description
System.Numerics.Vector3 angularVelocity
System.Numerics.Vector3 radiansToRotate

LocalMovement(Vector3, Single)

Declaration
public void LocalMovement(Vector3 localVelocity, float lengthToMove)
Parameters
Type Name Description
System.Numerics.Vector3 localVelocity
System.Single lengthToMove

LocalMovement(Vector3, Single, Single, Single)

Declaration
public void LocalMovement(Vector3 localVelocity, float lengthToMove, float rampUpLength, float rampDownLength)
Parameters
Type Name Description
System.Numerics.Vector3 localVelocity
System.Single lengthToMove
System.Single rampUpLength
System.Single rampDownLength

LocalMovementCancelAll()

Declaration
public void LocalMovementCancelAll()

LocalRotation(Vector3, Single, Single, Single)

Declaration
public virtual void LocalRotation(Vector3 localRotationPoint, float deltaYaw, float deltaPitch, float deltaRoll)
Parameters
Type Name Description
System.Numerics.Vector3 localRotationPoint
System.Single deltaYaw
System.Single deltaPitch
System.Single deltaRoll

Pick(Vector3, Vector3)

Declaration
public virtual PickResult Pick(Vector3 rayStart, Vector3 rayDirection)
Parameters
Type Name Description
System.Numerics.Vector3 rayStart
System.Numerics.Vector3 rayDirection
Returns
Type Description
PickResult

Rotate(Single, Single, Single)

Declaration
public virtual void Rotate(float yaw, float pitch, float roll)
Parameters
Type Name Description
System.Single yaw
System.Single pitch
System.Single roll

SegmentIntersect(Vector3)

Declaration
public Intersection SegmentIntersect(Vector3 pos)
Parameters
Type Name Description
System.Numerics.Vector3 pos
Returns
Type Description
Intersection

SegmentIntersect(Vector3, Single)

Declaration
public Intersection SegmentIntersect(Vector3 pos, float tolerance)
Parameters
Type Name Description
System.Numerics.Vector3 pos
System.Single tolerance
Returns
Type Description
Intersection

Select()

Declaration
public virtual void Select()

Select(Color)

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

SetTransformDirty()

Declaration
protected virtual void SetTransformDirty()

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

UnHighlight()

Declaration
public virtual void UnHighlight()

Events

OnDisposed

Declaration
public event RigidPart.DisposeEvent OnDisposed
Event Type
Type Description
RigidPart.DisposeEvent

OnDraging

Declaration
public event RigidPart.DragingEvent OnDraging
Event Type
Type Description
RigidPart.DragingEvent

OnLocalMovingFinished

Declaration
public event RigidPart.FinishedMoving OnLocalMovingFinished
Event Type
Type Description
RigidPart.FinishedMoving

OnLocalRotationFinished

Declaration
public event RigidPart.FinishedRotating OnLocalRotationFinished
Event Type
Type Description
RigidPart.FinishedRotating

OnMouseUp

Declaration
public event RigidPart.MouseUpEvent OnMouseUp
Event Type
Type Description
RigidPart.MouseUpEvent

OnSelected

Declaration
public event RigidPart.PickedEvent OnSelected
Event Type
Type Description
RigidPart.PickedEvent

Implements

IRigidPart
System.IDisposable
IMeshObject
ISceneObject
Back to top Generated by DocFX