element::velocity
Returns the current velocity of the element.
Declaration
float3 element::velocity()Return Value
The velocity as a 3D vector
Discussion
Use this function to read the element’s velocity vector, which indicates its direction and speed of motion.