• Home
  • Guides
  • API Documentation
WLT documentation has moved.

We are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the Core WLT section of the dot net API explorer and related pages. Existing content will remain here but will not be updated further.

  • API Documentation
  • Reference
  • Microsoft.MixedReality.WorldLocking.Examples
  • PinManipulator
Search Results for

    Show / Hide Table of Contents
    • Reference
      • Microsoft.MixedReality.WorldLocking.ASA
        • IBinder
        • IBindingOracle
        • ILocalPeg
        • IPublisher
        • LocalPegAndProperties
        • PublisherASA
        • PublisherReadiness
        • ReadinessStatus
        • SpacePinASA
        • SpacePinASA.KeyValPair
        • SpacePinBinder
        • SpacePinBinderFile
        • SpacePinCloudBinding
      • Microsoft.MixedReality.WorldLocking.ASA.Examples
        • ActionCube
        • ActionPublish
        • PlatformMenuSelector
        • ScreenSpacer
        • SpacePinASAManipulation
        • Startup
      • Microsoft.MixedReality.WorldLocking.Core
        • AdjustLocationDelegate
        • AdjustStateDelegate
        • AlignmentManager
        • AlignSubtree
        • AnchorManager
        • AnchorManager.SpongyAnchorWithId
        • AnchorManagerARCore
        • AnchorManagerNull
        • AnchorManagerWSA
        • AnchorSettings
        • AnchorSettings.AnchorSubsystem
        • AttachmentPoint
        • AttachmentPointStateType
        • Diagnostics
        • Diagnostics.Record
        • DiagnosticsSettings
        • Fragment
        • HeadPoseTrackerCamera
        • HeadPoseTrackerXR
        • IAlignmentManager
        • IAnchorManager
        • IAttachmentPoint
        • IAttachmentPointManager
        • IFragmentManager
        • IHeadPoseTracker
        • IOrientable
        • IOrienter
        • LinkageSettings
        • ManagerSettings
        • Orienter
        • Orienter.WeightedRotation
        • OrienterThreeBody
        • PoseExtensions
        • PostAlignmentLoadedDelegate
        • RefitNotificationDelegate
        • ResourceMirror
        • ResourceMirror.CompareToResource<ItemType, ResourceType>
        • ResourceMirror.CreateResource<ItemType, ResourceType>
        • ResourceMirror.DestroyResource<ResourceType>
        • ResourceMirror.UpdateResource<ItemType, ResourceType>
        • SharedDiagnosticsSettings
        • SharedManagerSettings
        • SpacePin
        • SpacePin.ModelPositionSourceEnum
        • SpacePinOrientable
        • SpongyAnchor
        • SpongyAnchorARCore
        • SpongyAnchorARF
        • SpongyAnchorNull
        • SpongyAnchorWSA
        • SpongyAnchorXR
        • TransformExtensions
        • WorldLockingContext
        • WorldLockingManager
      • Microsoft.MixedReality.WorldLocking.Core.ResourceMirrorHelper
        • IdPair<IdType, T>
      • Microsoft.MixedReality.WorldLocking.Core.Triangulator
        • Interpolant
        • ITriangulator
        • SimpleTriangulator
      • Microsoft.MixedReality.WorldLocking.Examples
        • AlignmentControl
        • CircleCam
        • DashboardCommand
        • DashboardUI
        • FallOut
        • ManipulationEndedDelegate
        • ManipulationStartedDelegate
        • PhysicsBeamSample
        • PinManipulator
        • RayPins
        • SpacePinManipulation
        • SpacePinOrientableManipulation
      • Microsoft.MixedReality.WorldLocking.Tools
        • AdjusterBase
        • AdjusterFixed
        • AdjusterMoving
        • AnchorGraphVisual
        • ConnectingLine
        • FrameVisual
        • FrozenAnchorVisual
        • FrozenSpatialMapping
        • FrozenSpatialMapping.QualityType
        • FrozenTapToAdd
        • SimpleConsole
        • SimpleSprite
        • SpacePinMeshVisualizer
        • SpacePinPercentageVisualizer
        • SpongyAnchorVisual
        • StatusToText
        • ToggleWorldAnchor
        • WorldAnchorAdapter
        • WorldLockingSetup

    Class PinManipulator

    Helper class to add MRTK object manipulation controls to an object.

    Inheritance
    Object
    PinManipulator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.WorldLocking.Examples
    Assembly: cs.temp.dll.dll
    Syntax
    public class PinManipulator

    Constructors

    PinManipulator(Transform, GameObject, ManipulationEndedDelegate)

    Backward compat with no specified manipulation started callback.

    Declaration
    public PinManipulator(Transform ownder, GameObject prefab, ManipulationEndedDelegate ended)
    Parameters
    Type Name Description
    Transform ownder
    GameObject prefab

    The visualization prefab to instantiate.

    ManipulationEndedDelegate ended

    The manipulation ended callback.

    PinManipulator(Transform, GameObject, ManipulationStartedDelegate, ManipulationEndedDelegate)

    Constructor accepts readonly dependencies.

    Declaration
    public PinManipulator(Transform owner, GameObject prefab, ManipulationStartedDelegate started, ManipulationEndedDelegate ended)
    Parameters
    Type Name Description
    Transform owner

    The object to manipulate.

    GameObject prefab

    The visualization prefab to instantiate.

    ManipulationStartedDelegate started

    The manipulation started callback.

    ManipulationEndedDelegate ended

    The manipulation ended callback.

    Properties

    UserOriented

    Whether to enable user orientation of the object. If false, only positioning enabled.

    Declaration
    public bool UserOriented { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    May be toggled from script during runtime.

    Methods

    Shutdown()

    Cleanup.

    Declaration
    public virtual void Shutdown()

    Startup()

    Get set up.

    Declaration
    public void Startup()

    Update()

    If active, position and orient the visualization.

    Declaration
    public virtual void Update()
    In This Article
    • Constructors
      • PinManipulator(Transform, GameObject, ManipulationEndedDelegate)
      • PinManipulator(Transform, GameObject, ManipulationStartedDelegate, ManipulationEndedDelegate)
    • Properties
      • UserOriented
    • Methods
      • Shutdown()
      • Startup()
      • Update()
    Back to top Generated by DocFX