日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class PerAxisHandles

    Rotation handles for BoundsControl that are used for rotating the Gameobject BoundsControl is attached to with near or far interaction

    Inheritance
    Object
    HandlesBase
    PerAxisHandles
    RotationHandles
    TranslationHandles
    Implements
    IProximityEffectObjectProvider
    Inherited Members
    HandlesBase.visualsName
    HandlesBase.UpdateColliderBounds()
    HandlesBase.ResetHandles()
    HandlesBase.handles
    HandlesBase.IProximityEffectObjectProvider.ProximityObjectsChanged
    HandlesBase.objectsChangedEvent
    HandlesBase.Handles
    HandlesBase.UpdateBaseMaterial()
    HandlesBase.UpdateGrabbedMaterial()
    HandlesBase.ForEachProximityObject(Action<Transform>)
    HandlesBase.GetBaseMaterial()
    HandlesBase.GetHighlightedMaterial()
    HandlesBase.GetObjectSize()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.UI.BoundsControl
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class PerAxisHandles : HandlesBase, IProximityEffectObjectProvider

    Fields

    config

    Declaration
    protected PerAxisHandlesConfiguration config
    Field Value
    Type Description
    PerAxisHandlesConfiguration

    Properties

    BaseConfig

    Configuration defining the handle behavior.

    Declaration
    protected override HandlesBaseConfiguration BaseConfig { get; }
    Property Value
    Type Description
    HandlesBaseConfiguration
    Overrides
    HandlesBase.BaseConfig

    HandlePositionDescription

    This description is used as the name (followed by an index) for the handle gameobject. Can be used to search the rigroot tree to find a specific handle by name

    Declaration
    protected virtual string HandlePositionDescription { get; }
    Property Value
    Type Description
    String

    HandlePositions

    Cached handle positions - we keep track of handle positions in this array in case we have to reload the handles due to configuration changes.

    Declaration
    protected Vector3[] HandlePositions { get; }
    Property Value
    Type Description
    Vector3[]

    IsActive

    Declaration
    public override bool IsActive { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    HandlesBase.IsActive

    Methods

    Finalize()

    Declaration
    protected void Finalize()

    GetRotationRealignment(Int32)

    Provide the rotation alignment for a handle. This method will be called when creating the handles.

    Declaration
    protected abstract Quaternion GetRotationRealignment(int handleIndex)
    Parameters
    Type Name Description
    Int32 handleIndex

    Index of the handle the rotation alignment is provided for.

    Returns
    Type Description
    Quaternion

    GetVisual(Transform)

    Declaration
    protected override Transform GetVisual(Transform handle)
    Parameters
    Type Name Description
    Transform handle
    Returns
    Type Description
    Transform
    Overrides
    HandlesBase.GetVisual(Transform)

    RecreateVisuals()

    Declaration
    protected override void RecreateVisuals()
    Overrides
    HandlesBase.RecreateVisuals()

    UpdateColliderBounds(Transform, Vector3)

    Declaration
    protected override void UpdateColliderBounds(Transform handle, Vector3 visualSize)
    Parameters
    Type Name Description
    Transform handle
    Vector3 visualSize
    Overrides
    HandlesBase.UpdateColliderBounds(Transform, Vector3)

    UpdateHandles()

    Declaration
    protected void UpdateHandles()

    Implements

    IProximityEffectObjectProvider
    Back to top Generated by DocFX