Bearbeiten

Freigeben über


TranslationHandlesConfiguration Class

Definition

Configuration for TranslationHandles used in BoundsControl This class provides all data members needed to create translation handles for BoundsControl

public ref class TranslationHandlesConfiguration : Microsoft::MixedReality::Toolkit::UI::BoundsControl::PerAxisHandlesConfiguration
[UnityEngine.CreateAssetMenu(fileName="TranslationHandlesConfiguration", menuName="Mixed Reality Toolkit/Bounds Control/Translation Handles Configuration")]
public class TranslationHandlesConfiguration : Microsoft.MixedReality.Toolkit.UI.BoundsControl.PerAxisHandlesConfiguration
[UnityEngine.CreateAssetMenu(fileName="TranslationHandlesConfiguration", menuName="Mixed Reality/Toolkit/Bounds Control/Translation Handles Configuration")]
public class TranslationHandlesConfiguration : Microsoft.MixedReality.Toolkit.UI.BoundsControl.PerAxisHandlesConfiguration
[<UnityEngine.CreateAssetMenu(fileName="TranslationHandlesConfiguration", menuName="Mixed Reality Toolkit/Bounds Control/Translation Handles Configuration")>]
type TranslationHandlesConfiguration = class
    inherit PerAxisHandlesConfiguration
[<UnityEngine.CreateAssetMenu(fileName="TranslationHandlesConfiguration", menuName="Mixed Reality/Toolkit/Bounds Control/Translation Handles Configuration")>]
type TranslationHandlesConfiguration = class
    inherit PerAxisHandlesConfiguration
Public Class TranslationHandlesConfiguration
Inherits PerAxisHandlesConfiguration
Inheritance
UnityEngine.ScriptableObject
TranslationHandlesConfiguration
Attributes
UnityEngine.CreateAssetMenuAttribute

Properties

ColliderPadding

Additional padding to apply to the handle collider to make handle easier to hit

(Inherited from HandlesBaseConfiguration)
DrawTetherWhenManipulating

Check to draw a tether point from the handles to the hand when manipulating.

(Inherited from HandlesBaseConfiguration)
HandleGrabbedMaterial

Material applied to handles while they are a grabbed

(Inherited from HandlesBaseConfiguration)
HandleMaterial

Material applied to handles when they are not in a grabbed state

(Inherited from HandlesBaseConfiguration)
HandlePrefab

Prefab used to display this type of bounds control handle. If not set, default shape will be used (scale default: boxes, rotation default: spheres)

(Inherited from HandlesBaseConfiguration)
HandlePrefabColliderType

Determines the type of collider that will surround the handle prefab.

(Inherited from PerAxisHandlesConfiguration)
HandlesIgnoreCollider

Add a Collider here if you do not want the handle colliders to interact with another object's collider.

(Inherited from HandlesBaseConfiguration)
HandleSize

Size of the handle collidable

(Inherited from HandlesBaseConfiguration)
ShowHandleForX

Shows handles for the X axis.

(Inherited from PerAxisHandlesConfiguration)
ShowHandleForY

Shows handles for the Y axis.

(Inherited from PerAxisHandlesConfiguration)
ShowHandleForZ

Shows handles for the Z axis.

(Inherited from PerAxisHandlesConfiguration)

Methods

TrySetDefaultMaterial() (Inherited from HandlesBaseConfiguration)

Applies to