Skip to content

Out

Out

Out(name: str = None)

An out transform is a just in time (JIT) transform that allows to access a variable that is produced by a visual during rendering.

Build the transform

Parameters:

Name Type Description Default
name str

Name of the buffer that have been produced by the visual. A specific key can be specified using the dot notation (e.g. "screen.x", "screen.yx").

None

base property

base

The base transform this transform is based on

bound property

bound

Indicate if this transform is bound

buffer property

buffer

Buffer on which to apply the transform.

last property

last

The last transform in the chain of transforms

next property

next

The next transform in the chain of transforms

copy

copy()

Copy the transform

evaluate

evaluate(variables: dict)

Evaluate the transform

Parameters:

Name Type Description Default
variables dict

Dictionary of out variables produced by a visual

required

set_base

set_base(base: Transform = None)

Set a new base for the transform

Parameters:

Name Type Description Default
base Transform

The base transform this transform is based on

None

set_buffer

set_buffer(buffer: Transform = None)

Bind the transform to the given buffer.

Parameters:

Name Type Description Default
buffer Buffer

Buffer to bind

None

set_next

set_next(next: Transform = None)

Compose transform with next that will be applied before this one.

Parameters:

Name Type Description Default
next Transform

Next transform

None