Modifica

Condividi tramite


PerAxisHandlesConfiguration Class

Definition

Configuration for PerAxisHandles used in BoundsControl. This class provides all data members needed to create axis based handles for BoundsControl.

public ref class PerAxisHandlesConfiguration abstract : Microsoft::MixedReality::Toolkit::UI::BoundsControl::HandlesBaseConfiguration
public abstract class PerAxisHandlesConfiguration : Microsoft.MixedReality.Toolkit.UI.BoundsControl.HandlesBaseConfiguration
type PerAxisHandlesConfiguration = class
    inherit HandlesBaseConfiguration
Public MustInherit Class PerAxisHandlesConfiguration
Inherits HandlesBaseConfiguration
Inheritance
UnityEngine.ScriptableObject
PerAxisHandlesConfiguration
Derived

Constructors

PerAxisHandlesConfiguration()

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.

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.

ShowHandleForY

Shows handles for the Y axis.

ShowHandleForZ

Shows handles for the Z axis.

Methods

TrySetDefaultMaterial() (Inherited from HandlesBaseConfiguration)

Applies to