docs.unity.cn
    Show / Hide Table of Contents

    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

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 August 2023