Photon Quantum 3.0.0

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Quantum.PhysicsCallbacks3D Struct Reference
Inheritance diagram for Quantum.PhysicsCallbacks3D:
Quantum.IComponent

Public Member Functions

void AddCollision (FrameBase f, AssetGuid mapGuid, int staticColliderId, bool isTrigger)
 
void AddCollision (FrameBase f, EntityRef entity)
 
bool IsCollidingWith (FrameBase f, AssetGuid mapGuid, int staticColliderId, out int index)
 
bool IsCollidingWith (FrameBase f, EntityRef entity, out int index)
 

Static Public Member Functions

static void Serialize (void *ptr, FrameSerializer serializer)
 Serializes a PhysicsCallbacks3D into a FrameSerializer. More...
 

Public Attributes

CallbackFlags Flags
 Represents which collision callbacks will be called for the entity. See CallbackFlags for more information. More...
 

Static Public Attributes

const int SIZE = sizeof(CallbackFlags) + Ptr.SIZE + sizeof(int) + sizeof(int)
 The size of the component (or struct/type) in-memory inside the Frame data-buffers or stack (when passed as value parameter). Not related to the snapshot payload this occupies, which is bit-packed and compressed. More...
 

Properties

Ptr ListBufferPtr [get]
 
int ListCount [get]
 

Detailed Description

Member Function Documentation

◆ Serialize()

static void Quantum.PhysicsCallbacks3D.Serialize ( void *  ptr,
FrameSerializer  serializer 
)
inlinestatic

Serializes a PhysicsCallbacks3D into a FrameSerializer.

Parameters
ptrThe pointer to the PhysicsCallbacks3D.
serializerThe FrameSerializer instance into which the struct will be serialized.

Member Data Documentation

◆ SIZE

const int Quantum.PhysicsCallbacks3D.SIZE = sizeof(CallbackFlags) + Ptr.SIZE + sizeof(int) + sizeof(int)
static

The size of the component (or struct/type) in-memory inside the Frame data-buffers or stack (when passed as value parameter). Not related to the snapshot payload this occupies, which is bit-packed and compressed.

◆ Flags

CallbackFlags Quantum.PhysicsCallbacks3D.Flags

Represents which collision callbacks will be called for the entity. See CallbackFlags for more information.