logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct UnityShaderColorPropertyResolver.ResolvedProperty

    Result of a color property resolution attempt.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.ProceduralExpression.Infrastructure.Services
    Assembly: Serenity.UnityProceduralExpression.Infrastructure.dll
    Syntax
    public struct UnityShaderColorPropertyResolver.ResolvedProperty

    Fields

    IsValid

    True if a valid color property was found.

    Declaration
    public bool IsValid
    Field Value
    Type Description
    bool

    PropertyId

    Cached Shader.PropertyToID for efficient runtime access.

    Declaration
    public int PropertyId
    Field Value
    Type Description
    int

    PropertyName

    The shader property name (e.g., "_BaseColor", "_Color").

    Declaration
    public string PropertyName
    Field Value
    Type Description
    string

    Properties

    Invalid

    Creates an invalid result.

    Declaration
    public static UnityShaderColorPropertyResolver.ResolvedProperty Invalid { get; }
    Property Value
    Type Description
    UnityShaderColorPropertyResolver.ResolvedProperty

    Methods

    Valid(string, int)

    Creates a valid result.

    Declaration
    public static UnityShaderColorPropertyResolver.ResolvedProperty Valid(string propertyName, int propertyId)
    Parameters
    Type Name Description
    string propertyName
    int propertyId
    Returns
    Type Description
    UnityShaderColorPropertyResolver.ResolvedProperty
    In this article
    © 2026 Serenity. All Rights Reserved