Class ClippingBox
Component to animate and visualize a box that can be used with per pixel based clipping.
Implements
IMaterialInstanceOwner
MonoBehaviour
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities
Assembly: cs.temp.dll.dll
Syntax
public class ClippingBox : ClippingPrimitive, IMaterialInstanceOwner, MonoBehaviour
Fields
clipBoxInverseTransformID
The property name of the clip box inverse transformation matrix within the shader.
Declaration
protected int clipBoxInverseTransformID
Field Value
Type | Description |
---|---|
Int32 |
clipBoxSizeID
The property name of the clip box data within the shader.
Declaration
protected int clipBoxSizeID
Field Value
Type | Description |
---|---|
Int32 |
Properties
ClippingSideProperty
Declaration
protected override string ClippingSideProperty { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
ClippingSideProperty
Declaration
protected override string ClippingSideProperty { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Keyword
Declaration
protected override string Keyword { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Keyword
Declaration
protected override string Keyword { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Methods
Initialize()
Declaration
protected override void Initialize()
Overrides
Initialize()
Declaration
protected override void Initialize()
Overrides
OnDrawGizmosSelected()
Renders a visual representation of the clipping primitive when selected.
Declaration
protected void OnDrawGizmosSelected()
UpdateShaderProperties(MaterialPropertyBlock)
Declaration
protected override void UpdateShaderProperties(MaterialPropertyBlock materialPropertyBlock)
Parameters
Type | Name | Description |
---|---|---|
MaterialPropertyBlock | materialPropertyBlock |
Overrides
UpdateShaderProperties(MaterialPropertyBlock)
Declaration
protected override void UpdateShaderProperties(MaterialPropertyBlock materialPropertyBlock)
Parameters
Type | Name | Description |
---|---|---|
MaterialPropertyBlock | materialPropertyBlock |
Overrides
Implements
IMaterialInstanceOwner
MonoBehaviour