Class MaterialPropertyBlockData_Objects
Contains a MaterialPropertyBlock
instance for
rendering objects.
Namespace: AS2.Visuals
Assembly: .dll
Syntax
public class MaterialPropertyBlockData_Objects : MaterialPropertyBlockData
Constructors
| Edit this page View SourceMaterialPropertyBlockData_Objects()
Declaration
public MaterialPropertyBlockData_Objects()
Fields
| Edit this page View Sourcecolor
Declaration
private Color color
Field Value
Type | Description |
---|---|
Color |
Properties
| Edit this page View SourceColor
Declaration
public Color Color { get; }
Property Value
Type | Description |
---|---|
Color |
Methods
| Edit this page View SourceApplyColor(Color)
Applies the given color to the property block.
Declaration
public void ApplyColor(Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color | The new color to be applied. |
Init()
Initializes the property block with default values.
Declaration
protected override void Init()
Overrides
| Edit this page View SourceReset()
Resets the property block to its default values.
Declaration
public override void Reset()