module::addPosition
Moves an element by adding an offset to its current position.
Declaration
void module::addPosition(float3 offset)Parameters
- offset:
The offset vector to add to the current position
Discussion
Use this function to translate an element relative to its current location by applying a position offset.