Class PartCollection
Inheritance
System.Object
PartCollection
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 PartCollection : IMotorRotationPartCollection
Constructors
PartCollection()
Declaration
Properties
Items
Declaration
public IList<IRigidPart> Items { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<IRigidPart> |
|
RotationAxes
Declaration
public Dictionary<IRigidPart, Vector3> RotationAxes { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<IRigidPart, System.Numerics.Vector3> |
|
RotationPoints
Declaration
public Dictionary<IRigidPart, Vector3> RotationPoints { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<IRigidPart, System.Numerics.Vector3> |
|
SyncPosition
Declaration
public Dictionary<IRigidPart, Vector3> SyncPosition { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<IRigidPart, System.Numerics.Vector3> |
|
SynOrientation
Declaration
public Dictionary<IRigidPart, Matrix4x4> SynOrientation { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<IRigidPart, System.Numerics.Matrix4x4> |
|
Methods
Add(IRigidPart, Vector3, Vector3)
Declaration
public void Add(IRigidPart part, Vector3 rotationpoint, Vector3 rotationaxis)
Parameters
Type |
Name |
Description |
IRigidPart |
part |
|
System.Numerics.Vector3 |
rotationpoint |
|
System.Numerics.Vector3 |
rotationaxis |
|
Clear()
Declaration
Contains(IRigidPart)
Declaration
public bool Contains(IRigidPart part)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Remove(IRigidPart)
Declaration
public void Remove(IRigidPart part)
Parameters
Sync()
Declaration
SyncPoint()
Declaration
Update(IRigidPart, Vector3, Vector3)
Declaration
public void Update(IRigidPart part, Vector3 rotationpoint, Vector3 rotationaxis)
Parameters
Type |
Name |
Description |
IRigidPart |
part |
|
System.Numerics.Vector3 |
rotationpoint |
|
System.Numerics.Vector3 |
rotationaxis |
|
Implements