docs.unity.cn
    Show / Hide Table of Contents

    Class ProxyVolume

    A proxy volume.

    This volume approximate the scene geometry with simple mathematical shapes.

    Inheritance
    Object
    ProxyVolume
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    public class ProxyVolume : IVersionable<ProxyVolume.Version>, ISerializationCallbackReceiver

    Properties

    boxSize

    The size of the proxy if it as a shape Box

    Declaration
    public Vector3 boxSize { get; set; }
    Property Value
    Type Description
    Vector3

    shape

    The shape of the proxy

    Declaration
    public ProxyShape shape { get; }
    Property Value
    Type Description
    ProxyShape

    sphereRadius

    The radius of the proxy if it as a shape Sphere

    Declaration
    public float sphereRadius { get; set; }
    Property Value
    Type Description
    Single

    Explicit Interface Implementations

    ISerializationCallbackReceiver.OnAfterDeserialize()

    Serialization callback

    Declaration
    void ISerializationCallbackReceiver.OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    ISerializationCallbackReceiver.OnBeforeSerialize()

    Serialization callback

    Declaration
    void ISerializationCallbackReceiver.OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    IVersionable<ProxyVolume.Version>.version

    Declaration
    ProxyVolume.Version IVersionable<ProxyVolume.Version>.version { get; set; }
    Returns
    Type Description
    UnityEngine.Rendering.HighDefinition.ProxyVolume.Version
    Implements
    IVersionable<TVersion>.version
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021