Search Results for

    Show / Hide Table of Contents

    Class MaterialPropertyBlockData_Objects

    Contains a MaterialPropertyBlock instance for rendering objects.

    Inheritance
    object
    MaterialPropertyBlockData
    MaterialPropertyBlockData_Objects
    Namespace: AS2.Visuals
    Assembly: .dll
    Syntax
    public class MaterialPropertyBlockData_Objects : MaterialPropertyBlockData

    Constructors

    | Edit this page View Source

    MaterialPropertyBlockData_Objects()

    Declaration
    public MaterialPropertyBlockData_Objects()

    Fields

    | Edit this page View Source

    color

    Declaration
    private Color color
    Field Value
    Type Description
    Color

    Properties

    | Edit this page View Source

    Color

    Declaration
    public Color Color { get; }
    Property Value
    Type Description
    Color

    Methods

    | Edit this page View Source

    ApplyColor(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.

    | Edit this page View Source

    Init()

    Initializes the property block with default values.

    Declaration
    protected override void Init()
    Overrides
    MaterialPropertyBlockData.Init()
    | Edit this page View Source

    Reset()

    Resets the property block to its default values.

    Declaration
    public override void Reset()
    Overrides
    MaterialPropertyBlockData.Reset()
    • Edit this page
    • View Source
    In this article
    Back to top AmoebotSim 2.0 Documentation v1.11
    Copyright © 2025 AmoebotSim 2.0 Authors
    Generated by DocFX