SceneObject.translate

giant.ray_tracer.scene:

SceneObject.translate(translation)[source]

Update the location of the object in the current frame by adding a vector to the current location.

Parameters:

translation (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) – The vector to add to the current vector