Struct MaterialColorSequenceLayerSO.ColorStep
Represents a single step in the color sequence.
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
Field Value
color
Declaration
Field Value
durationSeconds
Declaration
public float durationSeconds
Field Value