Class HandlesBaseConfiguration
Inheritance
HandlesBaseConfiguration
Assembly: cs.temp.dll.dll
public abstract class HandlesBaseConfiguration : ScriptableObject
Fields
Declaration
protected UnityEvent configurationChanged
Field Value
Type |
Description |
UnityEvent |
|
Declaration
protected UnityEvent visibilityChanged
Field Value
Type |
Description |
UnityEvent |
|
Properties
Additional padding to apply to the handle collider to make handle easier to hit
Declaration
public Vector3 ColliderPadding { get; set; }
Property Value
Material applied to handles while they are a grabbed
Declaration
public Material HandleGrabbedMaterial { get; set; }
Property Value
Type |
Description |
Material |
|
Material applied to handles when they are not in a grabbed state
Declaration
public Material HandleMaterial { get; set; }
Property Value
Type |
Description |
Material |
|
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 |
|
Size of the handle collidable
Declaration
public float HandleSize { get; set; }
Property Value
Methods
Declaration
protected void TrySetDefaultMaterial()