BoxDisplayConfiguration Class

Definition

Shareable configuration for the BoxDisplay of BoundsControl This class provides all data members needed to create a solid box display for bounds control

C++
public ref class BoxDisplayConfiguration : UnityEngine::ScriptableObject
Inheritance
UnityEngine.ScriptableObject
BoxDisplayConfiguration
Attributes
UnityEngine.CreateAssetMenuAttribute

Constructors

Properties

BoxGrabbedMaterial

Material used to display the bounding box when grabbed. If set to null no change will occur when grabbed.

BoxMaterial

Material used to display the bounding box. If set to null no bounding box will be displayed

FlattenAxisDisplayScale

When an axis is flattened what value to set that axis's scale to for display.

Applies to

Produto Versións
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