SpacePinASA Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public class SpacePinASA : Microsoft.MixedReality.WorldLocking.Core.SpacePinOrientable
type SpacePinASA = class
inherit SpacePinOrientable
Public Class SpacePinASA
Inherits SpacePinOrientable
- Inheritance
Constructors
SpacePinASA() |
Properties
AlignmentManager |
Accessor for overriding the AlignmentManager from script. (Inherited from SpacePin) |
AnchorId |
This wrapper for the anchorId is because the anchorId has to be stored as a ulong, which is the base class for the AnchorId enum. Unity only supports int-based enums, so will complain on serialization etc. for the ulong based AnchorId. (Inherited from SpacePin) |
AnchorName |
Provide a unique anchor name. This is used for persistence. (Inherited from SpacePin) |
FragmentId |
The fragment this belongs to. Public property to satisfy IOrientable interface. (Inherited from SpacePinOrientable) |
IsReadyForPublish |
Ready to publish when we have a local peg and it is ready to publish. |
LocalPeg |
Accessor for local peg. |
LockedPose |
Accessor for world locked pose for derived classes. (Inherited from SpacePin) |
LockedPosition | (Inherited from SpacePinOrientable) |
LockedRotation | (Inherited from SpacePinOrientable) |
Manager |
Read only access to manager dependency from derived classes. (Inherited from SpacePin) |
ModelingPoseGlobal |
First of the pair of poses submitted to alignment manager for alignment. (Inherited from SpacePin) |
ModelPosition | (Inherited from SpacePinOrientable) |
ModelPositionSource |
Where to find model space position on target. Transform is preferable, but if transforms are baked in, renderer or collider may be more appropriate. (Inherited from SpacePin) |
ModelRotation | (Inherited from SpacePinOrientable) |
Orienter |
Input dependency of the managing Orienter which will arbitrate individual rotations. (Inherited from SpacePinOrientable) |
PinActive |
Whether this space pin is in active use pinning space (Inherited from SpacePin) |
Properties |
Runtime access of properties. |
Publisher |
Accessor for publisher. This is managed by the binder. |
RestorePoseLocal |
Pose to restore after manipulation (if any). (Inherited from SpacePin) |
SpacePinId |
Unique identifier for this space pin. |
Methods
ConfigureLocalPeg() |
Create a local peg based on current state (LockedPose). |
ExtractModelPose() | (Inherited from SpacePin) |
ExtractModelPoseFromCollider() | (Inherited from SpacePin) |
ExtractModelPoseFromRenderer() | (Inherited from SpacePin) |
ExtractModelPoseFromTransform() | (Inherited from SpacePin) |
ForceAttachment() |
Ensure that there is an attachment, and it is positioned up to date. (Inherited from SpacePin) |
GetModelPoseFromGlobalPosition(Vector3) | (Inherited from SpacePin) |
OnDestroy() |
On destroy, unregister for the loaded event. (Inherited from SpacePin) |
OnLocationUpdate(Pose) |
Callback for refit operations. (Inherited from SpacePinOrientable) |
PushAlignmentData(IAlignmentManager) |
Communicate the data from this point to the alignment manager. (Inherited from SpacePin) |
PushRotation(IAlignmentManager, Quaternion) |
Accept the rotation as computed by the IOrienter. (Inherited from SpacePinOrientable) |
ReleaseAttachment() |
Dispose of any previously created attachment point. (Inherited from SpacePin) |
Reset() |
Reset and unregister from the IOrienter. (Inherited from SpacePinOrientable) |
ResetModelingPose() |
Reset the modeling pose to the current transform. (Inherited from SpacePin) |
RestoreOnLoad() |
If base restore on load succeeds, register with orienter for further manipulation. (Inherited from SpacePinOrientable) |
SendAlignmentData(IAlignmentManager) |
Notify the manager that all necessary updates have been submitted and are ready for processing. (Inherited from SpacePin) |
SetFrozenPose(Pose) |
Transform pose to Locked Space and pass through. (Inherited from SpacePin) |
SetFrozenPosition(Vector3) |
Set the position in frozen space. Rotation not needed since it is computed based on relative positions. (Inherited from SpacePinOrientable) |
SetLocalPeg(ILocalPeg) |
Accept the local peg assigned by the binder after it's been downloaded from the cloud. |
SetLockedPose(Pose) |
Override of base SetLockedPose to allow insertion of the computation of rotation. (Inherited from SpacePinOrientable) |
SetLockedPosition(Vector3) |
Set the position in world locked space. Rotation not needed since it is computed based on relative positions. (Inherited from SpacePinOrientable) |
SetOrienter(IOrienter) |
Explicitly set the managing IOrienter, overriding any setting from the Inspector. (Inherited from SpacePinOrientable) |
SetSpongyPose(Pose) |
Transform pose to Locked Space and pass through. (Inherited from SpacePin) |
SetSpongyPosition(Vector3) |
Set the position in spongy space. Rotation not needed since it is computed based on relative positions. (Inherited from SpacePinOrientable) |
Start() |
Adopt the Inspector set Orienter as the interface iorienter. (Inherited from SpacePinOrientable) |