pub unsafe extern "C" fn iplInstancedMeshCreate(
    scene: IPLScene,
    settings: *mut IPLInstancedMeshSettings,
    instancedMesh: *mut IPLInstancedMesh
) -> IPLerror
Expand description

Creates an instanced mesh.

An instanced mesh takes one scene and positions it within another scene. This is useful if you have the same object, like a pillar, that you want to instantiate multiple times within the same scene. A scene can be instantiated multiple times within another scene, without incurring any significant memory overhead.

The instanced mesh can be moved, rotated, and scaled freely at any time, providing an easy way to implement dynamic objects whose motion can be described purely in terms of rigid-body transformations.

\param scene The scene in which the instanced mesh should be created. \param settings The settings used to create the instanced mesh. \param instancedMesh [out] The created instanced mesh.

\return Status code indicating whether or not the operation succeeded.