times

operator fun <G : GroupEntity<*>> G.times(versor: Versor): G

GroupEntity * Versor => GroupEntity
Returns this entity with versor's motion applied to every leaf in its sub-tree — the entity-narrowed form of the scene graph's GroupNode * Versor.

The result is the receiver's own class, its facts carried by the typed copy hook. The narrowed receiver bound lets a game file import this form beside the leaf transform operators without them contending for leaf-typed receivers.

Receiver

The entity to move.

Return

The moved entity, as the receiver's class.

Parameters

versor

The motion to apply.

Type Parameters

G

The receiver's type, preserved in the result.

Throws

when a polyline leaf's move lands two consecutive vertices rounded-coincident at the SCALE quantum.

when a polygon leaf's move lands two consecutive vertices rounded-coincident at the SCALE quantum.