Bearbeiten

Freigeben über


RotationHandlesConfiguration Class

Definition

Configuration for RotationHandles used in BoundsControl This class provides all data members needed to create rotation handles for BoundsControl

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

Constructors

RotationHandlesConfiguration()

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