Class ClippingSphere
Component to animate and visualize a sphere that can be used with per pixel based clipping.
Implements
IMaterialInstanceOwner
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities
Assembly: cs.temp.dll.dll
Syntax
public class ClippingSphere : ClippingPrimitive, IMaterialInstanceOwner
Properties
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
Radius
The radius of the clipping sphere, which is determined by the largest axis of the transform's scale.
Declaration
public float Radius { get; }
Property Value
Type | Description |
---|---|
Single |
Methods
Initialize()
Declaration
protected override void Initialize()
Overrides
UpdateShaderProperties(MaterialPropertyBlock)
Declaration
protected override void UpdateShaderProperties(MaterialPropertyBlock materialPropertyBlock)
Parameters
Type | Name | Description |
---|---|---|
MaterialPropertyBlock | materialPropertyBlock |
Overrides
Implements
IMaterialInstanceOwner