Прочетете на английски Редактиране

Споделяне чрез


HandlesBaseConfiguration Class

Definition

Configuration base class for any BoundsControl handle type deriving from HandlesBase

C++
public ref class HandlesBaseConfiguration abstract : UnityEngine::ScriptableObject
Inheritance
UnityEngine.ScriptableObject
HandlesBaseConfiguration
Derived

Constructors

Properties

ColliderPadding

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

DrawTetherWhenManipulating

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

HandleGrabbedMaterial

Material applied to handles while they are a grabbed

HandleMaterial

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

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)

HandlesIgnoreCollider

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

HandleSize

Size of the handle collidable

Methods

Applies to

Продукт Версии
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0