Public Member Functions
nvidia::apex::FieldSamplerWeightedCollisionFilterCallback Class Reference

This is an optional callback interface for collision filtering between field samplers and other objects If this interface is not provided, then collision filtering happens normally through the default scene simulationfiltershader callback However, if this is provided, then the user can no only return true/false to indicate whether or not the two objects should interact but can also assign a weighted multiplier value to control how strongly the two objects should interact. More...

#include <ModuleFieldSampler.h>

List of all members.

Public Member Functions

virtual bool fieldSamplerWeightedCollisionFilter (const physx::PxFilterData &objectA, const physx::PxFilterData &objectB, float &multiplierValue)=0
 This is an optional callback interface for collision filtering between field samplers and other objects If this interface is not provided, then collision filtering happens normally through the default scene simulationfiltershader callback However, if this is provided, then the user can no only return true/false to indicate whether or not the two objects should interact but can also assign a weighted multiplier value to control how strongly the two objects should interact.

Detailed Description

This is an optional callback interface for collision filtering between field samplers and other objects If this interface is not provided, then collision filtering happens normally through the default scene simulationfiltershader callback However, if this is provided, then the user can no only return true/false to indicate whether or not the two objects should interact but can also assign a weighted multiplier value to control how strongly the two objects should interact.


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

Generated on Sat Dec 1 2018 15:52:08

Copyright © 2012-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.