IPLPathingVisualizationCallback

Type Alias IPLPathingVisualizationCallback 

Source
pub type IPLPathingVisualizationCallback = Option<unsafe extern "C" fn(from: IPLVector3, to: IPLVector3, occluded: IPLbool, userData: *mut c_void)>;
Expand description

Callback for visualizing valid path segments during call to \c iplSimulatorRunPathing.

You can use this to provide the user with visual feedback, like drawing each segment of a path.

\param from Position of starting probe. \param to Position of ending probe. \param occluded Occlusion status of ray segment between \c from to \c to. \param userData Pointer to arbitrary user-specified data provided when calling the function that will call this callback.

Aliased Type§

pub enum IPLPathingVisualizationCallback {
    None,
    Some(unsafe extern "C" fn(IPLVector3, IPLVector3, IPLbool, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(IPLVector3, IPLVector3, IPLbool, *mut c_void))

Some value of type T.