Interface IOrientable
Base class for a thing whose orientation can be inferred from the positions of a collection of IOrientables.
Namespace: Microsoft.MixedReality.WorldLocking.Core
Assembly: cs.temp.dll.dll
Syntax
public interface IOrientable
Properties
FragmentId
What fragment the object belongs in. Objects in different fragments don't affect each other.
Declaration
FragmentId FragmentId { get; }
Property Value
Type | Description |
---|---|
FragmentId |
LockedPosition
The desired position of the object in world locked space.
Declaration
Vector3 LockedPosition { get; }
Property Value
Type | Description |
---|---|
Vector3 |
LockedRotation
The desired rotation of the object in world locked space.
Declaration
Quaternion LockedRotation { get; }
Property Value
Type | Description |
---|---|
Quaternion |
ModelPosition
The position of the object in Modeling space.
Declaration
Vector3 ModelPosition { get; }
Property Value
Type | Description |
---|---|
Vector3 |
ModelRotation
The orientation of the object in Modeling space.
Declaration
Quaternion ModelRotation { get; }
Property Value
Type | Description |
---|---|
Quaternion |
Methods
PushRotation(IAlignmentManager, Quaternion)
Accept a rotation computed externally (by an IOrienter).
Declaration
void PushRotation(IAlignmentManager mgr, Quaternion lockedRotation)
Parameters
Type | Name | Description |
---|---|---|
IAlignmentManager | mgr | The Alignment Manager in charge. |
Quaternion | lockedRotation | The rotation to apply, in world locked space. |