Function steam_audio::ffi::iplCreateProbeBox [] [src]

pub unsafe extern "C" fn iplCreateProbeBox(
    context: IPLhandle,
    scene: IPLhandle,
    boxLocalToWorldTransform: *mut IPLfloat32,
    placementParams: IPLProbePlacementParams,
    progressCallback: IPLProbePlacementProgressCallback,
    probeBox: *mut IPLhandle
) -> IPLerror

Generates probes within a box. This function should typically be called from the game engine's editor, in response to the user indicating that they want to generate probes in the scene.

\param context Handle to the Context object used by the game engine. \param scene Handle to the Scene object. \param boxLocalToWorldTransform 4x4 local to world transform matrix laid out in column-major format. \param placementParams Parameters specifying how probes should be generated. \param progressCallback Pointer to a function that reports the percentage of this function's work that has been completed. May be \c NULL. \param probeBox [out] Handle to the created Probe Box object.

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