Search Results for

    Show / Hide Table of Contents

    Class MaterialPropertyBlockData_Circuits

    Contains a MaterialPropertyBlock instance for the circuit system. Used for updating the block.

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

    Constructors

    | Edit this page View Source

    MaterialPropertyBlockData_Circuits()

    Declaration
    public MaterialPropertyBlockData_Circuits()

    Fields

    | Edit this page View Source

    color

    Declaration
    private Color color
    Field Value
    Type Description
    Color

    Methods

    | Edit this page View Source

    ApplyAlphaPercentagesToBlock(float, float)

    Applies the given alpha percentages to the property block.

    Declaration
    public void ApplyAlphaPercentagesToBlock(float alphaBeforeAnimation, float alphaAfterAnimation)
    Parameters
    Type Name Description
    float alphaBeforeAnimation

    The alpha percentage before the animation.

    float alphaAfterAnimation

    The alpha percentage after the animation.

    | Edit this page View Source

    ApplyAnimationTimestamp(float, float)

    Applies the given animation timestamp to the property block.

    Declaration
    public void ApplyAnimationTimestamp(float triggerTime, float animationLength)
    Parameters
    Type Name Description
    float triggerTime

    The time at which the animation was triggered.

    float animationLength

    The length of an animation.

    | 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

    ApplyColorSecondary(Color)

    Applies the given secondary color to the property block.

    Declaration
    public void ApplyColorSecondary(Color color)
    Parameters
    Type Name Description
    Color color

    The new secondary color to be applied.

    | Edit this page View Source

    ApplyMovementOffset(Vector2)

    Applies the given movement offset to the property block.

    Declaration
    public void ApplyMovementOffset(Vector2 movementOffset)
    Parameters
    Type Name Description
    Vector2 movementOffset

    The new movement offset vector.

    | Edit this page View Source

    ApplyMovementTimestamp(float, float)

    Applies the given movement timestamp to the property block.

    Declaration
    public void ApplyMovementTimestamp(float movementTriggerTime, float movementDuration)
    Parameters
    Type Name Description
    float movementTriggerTime

    The time at which the movement has started.

    float movementDuration

    The duration of a movement.

    | Edit this page View Source

    ApplyTexture(Texture)

    Applies the given texture to the property block.

    Declaration
    public void ApplyTexture(Texture tex)
    Parameters
    Type Name Description
    Texture tex

    The new texture 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