Class HandlesBaseConfiguration
Configuration base class for any BoundsControl handle type deriving from HandlesBase
Namespace: Microsoft.MixedReality.Toolkit.UI.BoundsControl
Assembly: cs.temp.dll.dll
Syntax
public abstract class HandlesBaseConfiguration : ScriptableObject
Properties
ColliderPadding
Additional padding to apply to the handle collider to make handle easier to hit
Declaration
public Vector3 ColliderPadding { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
DrawTetherWhenManipulating
Check to draw a tether point from the handles to the hand when manipulating.
Declaration
public bool DrawTetherWhenManipulating { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HandleGrabbedMaterial
Material applied to handles while they are a grabbed
Declaration
public Material HandleGrabbedMaterial { get; set; }
Property Value
Type | Description |
---|---|
Material |
HandleMaterial
Material applied to handles when they are not in a grabbed state
Declaration
public Material HandleMaterial { get; set; }
Property Value
Type | Description |
---|---|
Material |
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)
Declaration
public GameObject HandlePrefab { get; set; }
Property Value
Type | Description |
---|---|
GameObject |
HandlesIgnoreCollider
Add a Collider here if you do not want the handle colliders to interact with another object's collider.
Declaration
public Collider HandlesIgnoreCollider { get; set; }
Property Value
Type | Description |
---|---|
Collider |
HandleSize
Size of the handle collidable
Declaration
public float HandleSize { get; set; }
Property Value
Type | Description |
---|---|
Single |
Methods
TrySetDefaultMaterial()
Declaration
protected void TrySetDefaultMaterial()