Bearbeiten

Freigeben über


HandlesBaseConfiguration Class

Definition

Configuration base class for any BoundsControl handle type deriving from HandlesBase

public ref class HandlesBaseConfiguration abstract : UnityEngine::ScriptableObject
public abstract class HandlesBaseConfiguration : UnityEngine.ScriptableObject
type HandlesBaseConfiguration = class
    inherit ScriptableObject
Public MustInherit Class HandlesBaseConfiguration
Inherits ScriptableObject
Inheritance
UnityEngine.ScriptableObject
HandlesBaseConfiguration
Derived

Constructors

HandlesBaseConfiguration()

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

TrySetDefaultMaterial()

Applies to