Skip to content

Transformer

Groups per-subject transform structures under one execution frame.

Namespace: Octoputs.Transforming Inherits: ControllableComponentMonoBehaviour

Overview

Transformer hosts a list of TransformerEntry items. Each entry binds a subject Transform to its own operation root — a single transform operation or a Parallel / Sequence composition for multi-step flows (e.g. scale up, then move, then scale back).

When the frame's Begin fires (default: on enable), every entry starts. On End, every entry's root completes.

Sibling component to Setter (writes into value sinks) and Constrainer (enforces spatial limits each frame). Where Constrainer clamps a Transform every frame, Transformer drives it through a structured operation that has a beginning and an end.

Properties

Property Type Description
entries List<TransformerEntry> Per-subject transform entries. Each entry runs its own operation root in parallel with the others.

TransformerEntry

Field Type Description
subject SmartGameObject The object this entry drives. Its transform is handed to the operation.
root ITransformOperation The operation that runs on the subject. Use a Parallel or Sequence transform operation here for multi-step structures.
onCompleted IProcess Optional fire-and-forget process invoked the moment the operation finishes. Drop a Raise Signal On Transmitter here to broadcast that this subject's transform reached its goal.

See Also