Edit

Share via


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

public ref class BoxDisplayConfiguration : UnityEngine::ScriptableObject
[UnityEngine.CreateAssetMenu(fileName="BoxDisplayConfiguration", menuName="Mixed Reality Toolkit/Bounds Control/Box Display Configuration")]
public class BoxDisplayConfiguration : UnityEngine.ScriptableObject
[UnityEngine.CreateAssetMenu(fileName="BoxDisplayConfiguration", menuName="Mixed Reality/Toolkit/Bounds Control/Box Display Configuration")]
public class BoxDisplayConfiguration : UnityEngine.ScriptableObject
[<UnityEngine.CreateAssetMenu(fileName="BoxDisplayConfiguration", menuName="Mixed Reality Toolkit/Bounds Control/Box Display Configuration")>]
type BoxDisplayConfiguration = class
    inherit ScriptableObject
[<UnityEngine.CreateAssetMenu(fileName="BoxDisplayConfiguration", menuName="Mixed Reality/Toolkit/Bounds Control/Box Display Configuration")>]
type BoxDisplayConfiguration = class
    inherit ScriptableObject
Public Class BoxDisplayConfiguration
Inherits ScriptableObject
Inheritance
UnityEngine.ScriptableObject
BoxDisplayConfiguration
Attributes
UnityEngine.CreateAssetMenuAttribute

Constructors

BoxDisplayConfiguration()

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