Class DecalProjectorComponent | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class DecalProjectorComponent

    Inheritance
    Object
    DecalProjectorComponent
    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    public class DecalProjectorComponent : MonoBehaviour, IVersionable<DecalProjectorComponent.Version>

    Fields

    m_AffectsTransparency

    Declaration
    public bool m_AffectsTransparency
    Field Value
    Type Description
    Boolean

    m_DrawDistance

    Declaration
    public float m_DrawDistance
    Field Value
    Type Description
    Single

    m_FadeFactor

    Declaration
    public float m_FadeFactor
    Field Value
    Type Description
    Single

    m_FadeScale

    Declaration
    public float m_FadeScale
    Field Value
    Type Description
    Single

    m_Material

    Declaration
    public Material m_Material
    Field Value
    Type Description
    Material

    m_Offset

    Declaration
    public Vector3 m_Offset
    Field Value
    Type Description
    Vector3

    m_Size

    Declaration
    public Vector3 m_Size
    Field Value
    Type Description
    Vector3

    m_UVBias

    Declaration
    public Vector2 m_UVBias
    Field Value
    Type Description
    Vector2

    m_UVScale

    Declaration
    public Vector2 m_UVScale
    Field Value
    Type Description
    Vector2

    Properties

    Handle

    Declaration
    public DecalSystem.DecalHandle Handle { get; set; }
    Property Value
    Type Description
    DecalSystem.DecalHandle

    Methods

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    Boolean

    LateUpdate()

    Declaration
    public void LateUpdate()

    OnDisable()

    Declaration
    public void OnDisable()

    OnEnable()

    Declaration
    public void OnEnable()

    OnValidate()

    Declaration
    public void OnValidate()

    Events

    OnMaterialChange

    Declaration
    public event DecalProjectorComponent.OnMaterialChangeDelegate OnMaterialChange
    Event Type
    Type Description
    DecalProjectorComponent.OnMaterialChangeDelegate

    Explicit Interface Implementations

    IVersionable<DecalProjectorComponent.Version>.version

    Declaration
    DecalProjectorComponent.Version IVersionable<DecalProjectorComponent.Version>.version { get; set; }
    Returns
    Type Description
    UnityEngine.Experimental.Rendering.HDPipeline.DecalProjectorComponent.Version
    Implements
    IVersionable<TVersion>.version
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023