Class CoordinateSystem
Inheritance
System.Object
CoordinateSystem
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 CoordinateSystem : ICoordinateSystem
Constructors
CoordinateSystem()
Declaration
public CoordinateSystem()
CoordinateSystem(CoordinateSystem, Vector3)
Declaration
public CoordinateSystem(CoordinateSystem subSystem, Vector3 localPosition)
Parameters
Type |
Name |
Description |
CoordinateSystem |
subSystem |
|
System.Numerics.Vector3 |
localPosition |
|
Properties
Declaration
public bool Configured { get; }
Property Value
Type |
Description |
System.Boolean |
|
GlobalOrientation
Declaration
public Matrix4x4 GlobalOrientation { get; }
Property Value
Type |
Description |
System.Numerics.Matrix4x4 |
|
GlobalPosition
Declaration
public Vector3 GlobalPosition { get; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
LocalPosition
Declaration
public Vector3 LocalPosition { get; set; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
ParentSystem
Declaration
public CoordinateSystem ParentSystem { get; set; }
Property Value
PitchRelativeParent
Declaration
public float PitchRelativeParent { get; }
Property Value
Type |
Description |
System.Single |
|
RollRelativeParent
Declaration
public float RollRelativeParent { get; }
Property Value
Type |
Description |
System.Single |
|
VisibleAxes
Declaration
public CoordinateSystem.VisibleAxesTypes VisibleAxes { get; set; }
Property Value
YawRelativeParent
Declaration
public float YawRelativeParent { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
Add(CoordinateSystem, Vector3)
Declaration
public void Add(CoordinateSystem sub, Vector3 localPosition)
Parameters
Type |
Name |
Description |
CoordinateSystem |
sub |
|
System.Numerics.Vector3 |
localPosition |
|
Add(RigidPart)
Declaration
public void Add(RigidPart part)
Parameters
Add(RigidPart, Vector3)
Declaration
public void Add(RigidPart part, Vector3 localPosition)
Parameters
Type |
Name |
Description |
RigidPart |
part |
|
System.Numerics.Vector3 |
localPosition |
|
AddPart(RigidPart)
Declaration
public void AddPart(RigidPart part)
Parameters
AddPart(RigidPart, Vector3)
Declaration
public void AddPart(RigidPart part, Vector3 localPosition)
Parameters
Type |
Name |
Description |
RigidPart |
part |
|
System.Numerics.Vector3 |
localPosition |
|
AddSubSystem(CoordinateSystem, Vector3)
Declaration
public void AddSubSystem(CoordinateSystem sub, Vector3 localPosition)
Parameters
Type |
Name |
Description |
CoordinateSystem |
sub |
|
System.Numerics.Vector3 |
localPosition |
|
Dispose()
Declaration
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()
Remove(CoordinateSystem)
Declaration
public bool Remove(CoordinateSystem sub)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Remove(RigidPart)
Declaration
public void Remove(RigidPart part)
Parameters
RemovePart(RigidPart)
Declaration
public void RemovePart(RigidPart part)
Parameters
RemoveSubSystem(CoordinateSystem)
Declaration
public bool RemoveSubSystem(CoordinateSystem sub)
Parameters
Returns
Type |
Description |
System.Boolean |
|
RotateRelativeParent(Single, Single, Single)
Declaration
public void RotateRelativeParent(float deltaYaw, float deltaPitch, float deltaRoll)
Parameters
Type |
Name |
Description |
System.Single |
deltaYaw |
|
System.Single |
deltaPitch |
|
System.Single |
deltaRoll |
|
RotateRelativeParent(Single, Single, Single, Boolean)
Declaration
public void RotateRelativeParent(float yaw, float pitch, float roll, bool absoluteAngles)
Parameters
Type |
Name |
Description |
System.Single |
yaw |
|
System.Single |
pitch |
|
System.Single |
roll |
|
System.Boolean |
absoluteAngles |
|
Events
OnLocalMovingFinished
Declaration
public event CoordinateSystem.FinishedMoving OnLocalMovingFinished
Event Type
OnLocalRotationFinished
Declaration
public event CoordinateSystem.FinishedRotating OnLocalRotationFinished
Event Type
Implements