docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ExposedProperty

    An utility Class that Accelerates caching of both string properties and their integer values based on Shader.PropertyToID()

    Inheritance
    object
    ExposedProperty
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.VFX.Utility
    Assembly: Unity.VisualEffectGraph.Runtime.dll
    Syntax
    [Serializable]
    public class ExposedProperty

    Constructors

    Name Description
    ExposedProperty()

    Default Constructor

    Methods

    Name Description
    ToString()

    The string value of this ExposedProperty

    Operators

    Name Description
    operator +(ExposedProperty, ExposedProperty)

    Implicit string concatenation Operator

    explicit operator string(ExposedProperty)

    Converts automatically an ExposedProperty to a string.

    implicit operator ExposedProperty(string)

    Creates a new ExposedProperty from a string.

    implicit operator int(ExposedProperty)

    Converts automatically an ExposedProperty to an int (based on Shader.PropertyToID())

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)