Blender  V3.3
Typedefs | Enumerations | Functions
DEG_depsgraph_physics.h File Reference
#include "DEG_depsgraph.h"

Go to the source code of this file.

Typedefs

typedef enum ePhysicsRelationType ePhysicsRelationType
 
typedef bool(* DEG_CollobjFilterFunction) (struct Object *obj, struct ModifierData *md)
 

Enumerations

enum  ePhysicsRelationType {
  DEG_PHYSICS_EFFECTOR = 0 , DEG_PHYSICS_COLLISION = 1 , DEG_PHYSICS_SMOKE_COLLISION = 2 , DEG_PHYSICS_DYNAMIC_BRUSH = 3 ,
  DEG_PHYSICS_RELATIONS_NUM = 4
}
 

Functions

struct ListBaseDEG_get_effector_relations (const struct Depsgraph *depsgraph, struct Collection *collection)
 
struct ListBaseDEG_get_collision_relations (const struct Depsgraph *depsgraph, struct Collection *collection, unsigned int modifier_type)
 
void DEG_add_collision_relations (struct DepsNodeHandle *handle, struct Object *object, struct Collection *collection, unsigned int modifier_type, DEG_CollobjFilterFunction filter_function, const char *name)
 
void DEG_add_forcefield_relations (struct DepsNodeHandle *handle, struct Object *object, struct EffectorWeights *eff, bool add_absorption, int skip_forcefield, const char *name)
 

Detailed Description

Physics utilities for effectors and collision.

Definition in file DEG_depsgraph_physics.h.

Typedef Documentation

◆ DEG_CollobjFilterFunction

typedef bool(* DEG_CollobjFilterFunction) (struct Object *obj, struct ModifierData *md)

Definition at line 42 of file DEG_depsgraph_physics.h.

◆ ePhysicsRelationType

Enumeration Type Documentation

◆ ePhysicsRelationType

Enumerator
DEG_PHYSICS_EFFECTOR 
DEG_PHYSICS_COLLISION 
DEG_PHYSICS_SMOKE_COLLISION 
DEG_PHYSICS_DYNAMIC_BRUSH 
DEG_PHYSICS_RELATIONS_NUM 

Definition at line 24 of file DEG_depsgraph_physics.h.

Function Documentation

◆ DEG_add_collision_relations()

void DEG_add_collision_relations ( struct DepsNodeHandle *  handle,
struct Object object,
struct Collection collection,
unsigned int  modifier_type,
DEG_CollobjFilterFunction  filter_function,
const char *  name 
)

◆ DEG_add_forcefield_relations()

void DEG_add_forcefield_relations ( struct DepsNodeHandle *  handle,
struct Object object,
struct EffectorWeights eff,
bool  add_absorption,
int  skip_forcefield,
const char *  name 
)

◆ DEG_get_collision_relations()

struct ListBase* DEG_get_collision_relations ( const struct Depsgraph depsgraph,
struct Collection collection,
unsigned int  modifier_type 
)

◆ DEG_get_effector_relations()

struct ListBase* DEG_get_effector_relations ( const struct Depsgraph depsgraph,
struct Collection collection 
)

Referenced by BKE_effectors_create().