Header menu logo Nu

Block Type

Record fields

Record Field Description

ColorShift

Full Usage: ColorShift

Field type: int
Field type: int

Consumers

Full Usage: Consumers

Field type: Set<Consumer>
Field type: Set<Consumer>

PositionI

Full Usage: PositionI

Field type: Vector3i
Field type: Vector3i

Properties

Full Usage: Properties

Field type: Map<string, (TypeName * Symbol)>
Field type: Map<string, (TypeName * Symbol)>

StyleIndex

Full Usage: StyleIndex

Field type: int
Field type: int

Static members

Static member Description

Block.getAvailable consumerOpt block

Full Usage: Block.getAvailable consumerOpt block

Parameters:
Returns: bool
consumerOpt : Consumer option
block : Block
Returns: bool

Block.make positionI styleIndex colorShift properties

Full Usage: Block.make positionI styleIndex colorShift properties

Parameters:
Returns: Block
positionI : Vector3i
styleIndex : int
colorShift : int
properties : Map<string, (TypeName * Symbol)>
Returns: Block

Block.registerConsumer consumer block

Full Usage: Block.registerConsumer consumer block

Parameters:
Returns: Block
consumer : Consumer
block : Block
Returns: Block

Block.shiftColor shift color

Full Usage: Block.shiftColor shift color

Parameters:
    shift : int
    color : Color

Returns: Color
shift : int
color : Color
Returns: Color

Block.tryGetColor block palette

Full Usage: Block.tryGetColor block palette

Parameters:
Returns: Color option
block : Block
palette : Palette
Returns: Color option

Type something to start searching.