Firelight Technologies FMOD Studio API
Geometry::getPosition
Retrieves the position of the object in 3D world space.
C++ Syntax
FMOD_RESULT Geometry::getPosition(
FMOD_VECTOR *position
);
C Syntax
FMOD_RESULT FMOD_Geometry_GetPosition(
FMOD_GEOMETRY *geometry,
FMOD_VECTOR *position
);
C# Syntax
RESULT Geometry.getPosition(
out VECTOR position
);
JavaScript Syntax
Geometry.getPosition(
position // writes value to position.val
);
Parameters
- position
- Address of a variable to receive the 3D position of the object.
Return Values
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
See Also
Version 1.10.03 Built on Feb 1, 2018