Firelight Technologies FMOD Studio API

Geometry::setPosition

Sets the position of the object in world space, which is the same space FMOD sounds and listeners reside in.

C++ Syntax

FMOD_RESULT Geometry::setPosition(
  const FMOD_VECTOR *position
);

C Syntax

FMOD_RESULT FMOD_Geometry_SetPosition(
  FMOD_GEOMETRY *geometry,
  const FMOD_VECTOR *position
);

Parameters

position
Pointer to a vector containing 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.03.06 Built on Apr 17, 2014