Modifier

Partager via


ScaleHandlesConfiguration Class

Definition

Configuration for ScaleHandles used in BoundsControl This class provides all data members needed to create scale handles for BoundsControl

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

Constructors

ScaleHandlesConfiguration()

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)
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)
HandleSlatePrefab

Prefab used to display handles for 2D slate. If not set, default box shape will be used

ScaleBehavior

Scale behavior that is applied when interacting with scale handles - default is uniform scaling. Non uniform mode scales the control according to hand / controller movement in space.

ShowScaleHandles

Public property to Set the visibility of the corner cube Scaling handles.

Methods

TrySetDefaultMaterial() (Inherited from HandlesBaseConfiguration)

Applies to