Struct MaterialPropertyData
Data container for a single material property change. Contains the target color and blend weight.
Inherited Members
Namespace: Serenity.ProceduralExpression.Domain.Entities
Assembly: Serenity.ProceduralExpression.Domain.dll
Syntax
public struct MaterialPropertyData
Constructors
MaterialPropertyData(ColorRGBA, float)
Creates a new MaterialPropertyData with the specified color and weight.
Declaration
public MaterialPropertyData(ColorRGBA color, float weight)
Parameters
| Type | Name | Description |
|---|---|---|
| ColorRGBA | color | |
| float | weight |
Fields
Color
The target color to apply.
Declaration
public ColorRGBA Color
Field Value
| Type | Description |
|---|---|
| ColorRGBA |
Weight
Blend weight (0-1) representing how much of this color change to apply. 0 = no change (applier should skip or use original color). 1 = full delta color applied. Intermediate values = lerp between original and delta color (handled by applier).
Declaration
public float Weight
Field Value
| Type | Description |
|---|---|
| float |