Interface ControllerOptions

ControllerOptions.

interface ControllerOptions {
    alignment: number;
    peek: boolean;
    primitiveCheck: boolean;
    targetType: undefined | InstantiableObject<unknown>;
}

Properties

alignment: number

Define the memory address alignment. After performing the read the controller will be moved to be a multiple of "alignment". If this value is equal to 0 it won't change the alignment.

peek: boolean

Move the cursor back to its previous position when the controller condition is met.

primitiveCheck: boolean

Verify a relation already exist before the definition of the controller

targetType: undefined | InstantiableObject<unknown>

Define the target type for the controller to apply transformation.