Quantum 3 3.0.5

Public Member Functions | Protected Member Functions | List of all members
Quantum.Core.PhysicsSystem3D Class Reference

The Quantum 3D physics system. More...

Inheritance diagram for Quantum.Core.PhysicsSystem3D:
Quantum.SystemBase Quantum.Core.ICollisionCallbacks3D

Public Member Functions

void OnCollision3D (FrameBase f, CollisionInfo3D info)
 Raised when two non-trigger 3D colliders collide. Raised every frame while the collision lasts.
 
void OnCollisionEnter3D (FrameBase f, CollisionInfo3D info)
 Raised on the frame when two non-trigger 3D colliders start colliding.
 
void OnCollisionExit3D (FrameBase f, ExitInfo3D info)
 Raised on the first frame when two non-trigger 3D colliders are detected as no longer colliding.
 
override void OnInit (Frame f)
 Initializes the 3D physics system. More...
 
void OnTrigger3D (FrameBase f, TriggerInfo3D info)
 Raised when two 3D colliders collide if exactly one of them is a trigger collider. Raised every frame while the collision lasts.
 
void OnTriggerEnter3D (FrameBase f, TriggerInfo3D info)
 Raised on the first frame when two 3D colliders start colliding if exactly one of them is a trigger collider.
 
void OnTriggerExit3D (FrameBase f, ExitInfo3D info)
 Raised on the first frame when two 3D colliders are detected as no longer colliding if exactly one of them is a trigger collider.
 
- Public Member Functions inherited from Quantum.SystemBase
 SystemBase ()
 Constructor. More...
 
 SystemBase (params SystemBase[] children)
 Create a new instance of a system with children. More...
 
 SystemBase (string scheduleSample)
 Create a new instance and setting the sample name. More...
 
virtual void OnDisabled (Frame f)
 Is called when the system was disabled for example after Frame.SystemDisable(Type). More...
 
virtual void OnEnabled (Frame f)
 Is called when the system was enabled for example after calling Frame.SystemEnable<T>() or during QuantumGame.InitSystems(Photon.Deterministic.DeterministicFrame). More...
 
TaskHandle OnSchedule (Frame f, TaskHandle taskHandle)
 Creates the task graph for the system. More...
 

Protected Member Functions

override TaskHandle Schedule (Frame f, TaskHandle taskHandle)
 Create the 3D physics system update task graph. More...
 

Additional Inherited Members

- Properties inherited from Quantum.SystemBase
IEnumerable< SystemBaseChildSystems [get]
 The enumerable child systems. More...
 
IEnumerable< SystemBaseHierarchy [get]
 Creates the complete sub graph of child systems. More...
 
SystemBase ParentSystem [get]
 The parent system in the system hierarchy. More...
 
string ProfilerName [get]
 Profiler name. More...
 
Int32 RuntimeIndex [get]
 A unique index assigned to identify systems at runtime. More...
 
virtual Boolean StartEnabled [get, set]
 Set to true when the simulation should start with this system enabled. More...
 

Detailed Description

The Quantum 3D physics system.

Member Function Documentation

◆ OnInit()

override void Quantum.Core.PhysicsSystem3D.OnInit ( Frame  f)
inlinevirtual

Initializes the 3D physics system.

Parameters
fThe frame reference.

Reimplemented from Quantum.SystemBase.

◆ Schedule()

override TaskHandle Quantum.Core.PhysicsSystem3D.Schedule ( Frame  f,
TaskHandle  taskHandle 
)
inlineprotectedvirtual

Create the 3D physics system update task graph.

Parameters
fThe frame reference.
taskHandleThe initial task handle.
Returns
The updated task handle with the physics update graph.

Implements Quantum.SystemBase.