AppleSCNTransformConstraint - UBogun/Xojo-iosLib GitHub Wiki

Inherits from AppleSCNConstraint
Memory leak check: not yet done.
Status: complete.

An SCNTransformConstraint object runs a block that you specify to compute a new transformation (position, rotation, and scale) for each node affected by the constraint.

See the superclass for additional features of constraints

##Constructor Constructor (EvaluteInWorldSpace As Boolean, Block As AppleBlock): Creates a new transform constraint. If EvaluteInWorldSpace is False, evaluates the constraint relative to the local coordinate space of each constrained node. If true, evaluates in the scene's world coordinates.

See the private TransformBlockTemplate method for the block structure.