Search Results for

    Show / Hide Table of Contents

    Class ParticlePinGraphicState.PSetData.GraphicalData

    Stores internal graphical data belonging to a ParticlePinGraphicState.PSetData instance.

    Inheritance
    object
    ParticlePinGraphicState.PSetData.GraphicalData
    Namespace: AS2.Visuals
    Assembly: .dll
    Syntax
    public class ParticlePinGraphicState.PSetData.GraphicalData

    Fields

    | Edit this page View Source

    active_connector_position1

    The active connector position of the grid position 1 of the snap (for expanded particles).

    Declaration
    public Vector2 active_connector_position1
    Field Value
    Type Description
    Vector2
    | Edit this page View Source

    active_connector_position2

    The active connector position of the grid position 2 of the snap (for expanded particles).

    Declaration
    public Vector2 active_connector_position2
    Field Value
    Type Description
    Vector2
    | Edit this page View Source

    active_position1

    The active position of the partition set (at the end of the round).

    Declaration
    public Vector2 active_position1
    Field Value
    Type Description
    Vector2
    | Edit this page View Source

    active_position2

    The active position of the partition set of the expanded particle at the grid position 2 of the snap (at the end of the round). Only relevant for expanded particles.

    Declaration
    public Vector2 active_position2
    Field Value
    Type Description
    Vector2
    | Edit this page View Source

    codeOverrideType1

    Type of partition set placement override in the particle's head.

    Declaration
    public ParticlePinGraphicState.PSetData.GraphicalData.CodeOverrideType_PSet codeOverrideType1
    Field Value
    Type Description
    ParticlePinGraphicState.PSetData.GraphicalData.CodeOverrideType_PSet
    | Edit this page View Source

    codeOverrideType2

    Type of partition set placement override in the particle's tail if the particle is expanded.

    Declaration
    public ParticlePinGraphicState.PSetData.GraphicalData.CodeOverrideType_PSet codeOverrideType2
    Field Value
    Type Description
    ParticlePinGraphicState.PSetData.GraphicalData.CodeOverrideType_PSet
    | Edit this page View Source

    codeOverride_coordinate1

    A coordinate used to override the default position of the partition set in the view via code. For the head or contracted particle.

    Declaration
    public Polar2DCoordinate codeOverride_coordinate1
    Field Value
    Type Description
    Polar2DCoordinate
    | Edit this page View Source

    codeOverride_coordinate2

    A coordinate used to override the default position of the partition set in the view via code. For the tail of the expanded particle.

    Declaration
    public Polar2DCoordinate codeOverride_coordinate2
    Field Value
    Type Description
    Polar2DCoordinate
    | Edit this page View Source

    hasPinsInHead

    Whether the particle has pins in the head. This value is set by the PrecalculatePinNumbersAndStoreInGD() method of the PSet.

    Declaration
    public bool hasPinsInHead
    Field Value
    Type Description
    bool
    | Edit this page View Source

    hasPinsInTail

    Whether the particle has pins in the tail. This value is set by the PrecalculatePinNumbersAndStoreInGD() method of the PSet.

    Declaration
    public bool hasPinsInTail
    Field Value
    Type Description
    bool
    | Edit this page View Source

    index_lineConnector

    Batch index of the connector line if the particle is expanded.

    Declaration
    public RenderBatchIndex index_lineConnector
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    index_lineConnector_beep

    Batch index of the beeping connector line if the particle is expanded.

    Declaration
    public RenderBatchIndex index_lineConnector_beep
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    index_lines1

    Batch indices for circuit lines belonging to the head partition set handle. The last entry belongs to the line between the handle and the connector if the particle is expanded.

    Declaration
    public List<RenderBatchIndex> index_lines1
    Field Value
    Type Description
    List<RenderBatchIndex>
    | Edit this page View Source

    index_lines1_beep

    Batch indices for beeping circuit lines belonging to the head partition set handle. The last entry belongs to the line between the handle and the connector if the particle is expanded.

    Declaration
    public List<RenderBatchIndex> index_lines1_beep
    Field Value
    Type Description
    List<RenderBatchIndex>
    | Edit this page View Source

    index_lines2

    Batch indices for circuit lines belonging to the tail partition set handle, if the particle is expanded. The last entry belongs to the line between the handle and the connector.

    Declaration
    public List<RenderBatchIndex> index_lines2
    Field Value
    Type Description
    List<RenderBatchIndex>
    | Edit this page View Source

    index_lines2_beep

    Batch indices for beeping circuit lines belonging to the tail partition set handle, if the particle is expanded. The last entry belongs to the line between the handle and the connector.

    Declaration
    public List<RenderBatchIndex> index_lines2_beep
    Field Value
    Type Description
    List<RenderBatchIndex>
    | Edit this page View Source

    index_pSet1

    Batch index of the head partition set handle.

    Declaration
    public RenderBatchIndex index_pSet1
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    index_pSet1_beep_or_fault

    Batch index of the head partition set handle's beep or fault highlight.

    Declaration
    public RenderBatchIndex index_pSet1_beep_or_fault
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    index_pSet1_beep_origin

    Batch index of the head partition set handle's beep origin highlight.

    Declaration
    public RenderBatchIndex index_pSet1_beep_origin
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    index_pSet2

    Batch index of the tail partition set handle. Only used for expanded particles.

    Declaration
    public RenderBatchIndex index_pSet2
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    index_pSet2_beep_or_fault

    Batch index of the tail partition set handle's beep or fault highlight. Only used for expanded particles.

    Declaration
    public RenderBatchIndex index_pSet2_beep_or_fault
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    index_pSet2_beep_origin

    Batch index of the tail partition set handle's beep origin highlight. Only used for expanded particles.

    Declaration
    public RenderBatchIndex index_pSet2_beep_origin
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    index_pSetConnectorPin1

    Batch index of the head connector position if the particle is expanded.

    Declaration
    public RenderBatchIndex index_pSetConnectorPin1
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    index_pSetConnectorPin2

    Batch index of the tail connector position if the particle is expanded.

    Declaration
    public RenderBatchIndex index_pSetConnectorPin2
    Field Value
    Type Description
    RenderBatchIndex
    | Edit this page View Source

    pSet1_pins

    Pins belonging to the partition set that are at the particle's head.

    Declaration
    public List<ParticlePinGraphicState.PinDef> pSet1_pins
    Field Value
    Type Description
    List<ParticlePinGraphicState.PinDef>
    | Edit this page View Source

    pSet2_pins

    Pins belonging to the partition set that are at the particle's tail if it is expanded.

    Declaration
    public List<ParticlePinGraphicState.PinDef> pSet2_pins
    Field Value
    Type Description
    List<ParticlePinGraphicState.PinDef>
    | Edit this page View Source

    pinsInHead

    Number of pins in the head.

    Declaration
    public int pinsInHead
    Field Value
    Type Description
    int
    | Edit this page View Source

    pinsInTail

    Number of pins in the tail.

    Declaration
    public int pinsInTail
    Field Value
    Type Description
    int
    | Edit this page View Source

    properties_connectorPin

    Material properties for circuit line connectors.

    Declaration
    public RendererCircuitPins_RenderBatch.PropertyBlockData properties_connectorPin
    Field Value
    Type Description
    RendererCircuitPins_RenderBatch.PropertyBlockData
    | Edit this page View Source

    properties_line

    Material properties for circuit lines.

    Declaration
    public RendererCircuits_RenderBatch.PropertyBlockData properties_line
    Field Value
    Type Description
    RendererCircuits_RenderBatch.PropertyBlockData
    | Edit this page View Source

    properties_line_beep

    Material properties for beeping circuit lines.

    Declaration
    public RendererCircuits_RenderBatch.PropertyBlockData properties_line_beep
    Field Value
    Type Description
    RendererCircuits_RenderBatch.PropertyBlockData
    | Edit this page View Source

    properties_pin

    Material properties for partition set handles.

    Declaration
    public RendererCircuitPins_RenderBatch.PropertyBlockData properties_pin
    Field Value
    Type Description
    RendererCircuitPins_RenderBatch.PropertyBlockData
    | Edit this page View Source

    properties_pin_beep

    Material properties for beeping partition set handles.

    Declaration
    public RendererCircuitPins_RenderBatch.PropertyBlockData properties_pin_beep
    Field Value
    Type Description
    RendererCircuitPins_RenderBatch.PropertyBlockData
    | Edit this page View Source

    properties_pin_faulty

    Material properties for faulty partition set handles.

    Declaration
    public RendererCircuitPins_RenderBatch.PropertyBlockData properties_pin_faulty
    Field Value
    Type Description
    RendererCircuitPins_RenderBatch.PropertyBlockData

    Methods

    | Edit this page View Source

    Clear(bool)

    Clears the graphical data by resetting all batch indices and coordinates.

    Declaration
    public void Clear(bool clearIndicesOnly = false)
    Parameters
    Type Name Description
    bool clearIndicesOnly

    If false, code override and pin info is also 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