Interface IVolumeAdditionalGizmo
Interface to add additional gizmo renders for a IVolume
Namespace: UnityEditor.Rendering
Syntax
public interface IVolumeAdditionalGizmo
Properties
type
The type that overrides this additional gizmo
Declaration
Type type { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
OnBoxColliderDraw(IVolume, BoxCollider)
Additional gizmo draw for BoxCollider
Declaration
void OnBoxColliderDraw(IVolume scr, BoxCollider c)
Parameters
Type | Name | Description |
---|---|---|
IVolume | scr | The IVolume |
BoxCollider | c | The BoxCollider |
OnMeshColliderDraw(IVolume, MeshCollider)
Additional gizmo draw for MeshCollider
Declaration
void OnMeshColliderDraw(IVolume scr, MeshCollider c)
Parameters
Type | Name | Description |
---|---|---|
IVolume | scr | The IVolume |
MeshCollider | c | The MeshCollider |
OnSphereColliderDraw(IVolume, SphereCollider)
Additional gizmo draw for SphereCollider
Declaration
void OnSphereColliderDraw(IVolume scr, SphereCollider c)
Parameters
Type | Name | Description |
---|---|---|
IVolume | scr | The IVolume |
SphereCollider | c | The SphereCollider |