logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct MaterialColorSequenceLayerSO.ColorStep

    Represents a single step in the color sequence.

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

    Constructors

    ColorStep(Color, float, bool)

    Creates a ColorStep with specified color and duration. Color alpha defaults to 1.0 if not specified.

    Declaration
    public ColorStep(Color color, float duration, bool blend = false)
    Parameters
    Type Name Description
    Color color
    float duration
    bool blend

    Fields

    blendToNext

    Declaration
    public bool blendToNext
    Field Value
    Type Description
    bool

    color

    Declaration
    public Color color
    Field Value
    Type Description
    Color

    durationSeconds

    Declaration
    public float durationSeconds
    Field Value
    Type Description
    float
    In this article
    © 2026 Serenity. All Rights Reserved