AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxUtil::StepEventCallback::DefaultIsPreCollide Struct Reference

Used as argument in timed callbacks (callAt, callFor et al.) where it might not matter as much when the callback is performed. More...

#include <StepEventCallback.h>

Public Member Functions

 DefaultIsPreCollide (int activation=agxSDK::StepEventListener::PRE_COLLIDE)
 Construct given activation mask, default PRE_COLLIDE.
 

Public Attributes

agxSDK::StepEventListener::ActivationMask activation {}
 

Detailed Description

Used as argument in timed callbacks (callAt, callFor et al.) where it might not matter as much when the callback is performed.

Example Usage: agxUtil::StepEventCallback::callAt( 0.5, {}, // Default, called in PRE_COLLIDE. ... ); agxUtil::StepEventCallback::callAt( 0.5, agxSDK::StepEventCallback::PRE_STEP | // Called in pre and post. agxSDK::StepEventCallback::POST_STEP, ...

Definition at line 61 of file StepEventCallback.h.

Constructor & Destructor Documentation

◆ DefaultIsPreCollide()

agxUtil::StepEventCallback::DefaultIsPreCollide::DefaultIsPreCollide ( int  activation = agxSDK::StepEventListener::PRE_COLLIDE)
inline

Construct given activation mask, default PRE_COLLIDE.

Parameters
activation- activation mask

Definition at line 67 of file StepEventCallback.h.

Member Data Documentation

◆ activation

agxSDK::StepEventListener::ActivationMask agxUtil::StepEventCallback::DefaultIsPreCollide::activation {}

Definition at line 72 of file StepEventCallback.h.


The documentation for this struct was generated from the following file: