Struct ParticlePinGraphicState.PinDef
The definition of a single pin. Contains directions, id and if this pin is in the head of the particle.
Namespace: AS2.Visuals
Assembly: .dll
Syntax
public struct ParticlePinGraphicState.PinDef
Constructors
| Edit this page View SourcePinDef(int, int, bool)
Declaration
public PinDef(int globalDir, int dirID, bool isHead)
Parameters
| Type | Name | Description |
|---|---|---|
| int | globalDir | |
| int | dirID | |
| bool | isHead |
Fields
| Edit this page View SourcedirID
Local edge index of the pin. Values are
0,...,n-1, where n is the number
of pins per edge.
Declaration
public int dirID
Field Value
| Type | Description |
|---|---|
| int |
globalDir
Global direction of the edge on which the pin is
located. Values are 0,...,5 with 0
being East and values increasing in counter-clockwise
direction.
Declaration
public int globalDir
Field Value
| Type | Description |
|---|---|
| int |
isHead
true if the pin belongs to a contracted particle
or the head of an expanded particle, false if the
pin is on the tail of an expanded particle.
Declaration
public bool isHead
Field Value
| Type | Description |
|---|---|
| bool |