module::setPosition
Sets the position of an element to the specified coordinates.
Declaration
void module::setPosition(float3 position)Parameters
- position:
The new position coordinates in 3D space
Discussion
Use this function to move an element to a specific location in 3D space, replacing its current position.