Firelight Technologies FMOD Studio API
System::loadGeometry
Creates a geometry object from a block of memory which contains pre-saved geometry data, saved by Geometry::save.
C++ Syntax
FMOD_RESULT System::loadGeometry(
const void *data,
int datasize,
FMOD::Geometry **geometry
);
C Syntax
FMOD_RESULT FMOD_System_LoadGeometry(
FMOD_SYSTEM *system,
const void *data,
int datasize,
FMOD_GEOMETRY **geometry
);
C# Syntax
RESULT System.loadGeometry(
IntPtr data,
int datasize,
out Geometry geometry
);
JavaScript Syntax
System.loadGeometry(
data,
datasize,
geometry // writes value to geometry.val
);
Parameters
- data
- Address of data containing pre-saved geometry data.
- datasize
- Size of geometry data block in bytes.
- geometry
- Address of a variable to receive a newly created FMOD::Geometry 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