SpiecsEngine
 
Loading...
Searching...
No Matches
WorldMarkQuerier.h
Go to the documentation of this file.
1/**
2* @file WorldMarkQuerier.h.
3* @brief The WorldMarkQuerier Definitions.
4* @author Spices.
5*/
6
7#pragma once
8#include "Core/Core.h"
9#include "NativeScript.h"
10
11namespace Spices {
12
13 /**
14 * @brief Script of handle world mark.
15 */
17 {
18 public:
19
20 /**
21 * @brief Constructor Function.
22 */
23 WorldMarkQuerier() = default;
24
25 /**
26 * @brief Destructor Function.
27 */
28 virtual ~WorldMarkQuerier() override = default;
29
30 /**
31 * @brief This interface defines the behave on specific component tick every frame.
32 * @param[in] ts TimeStep.
33 */
34 virtual void OnTick(TimeStep& ts) override;
35
36 /**
37 * @brief This interface defines the behave on specific component event happened.
38 * @param[in] e Event.
39 */
40 virtual void OnEvent(Event& e) override {};
41 };
42}
#define SPICES_PROFILE_ZONE
CameraComponent Class. This class defines the specific behaves of CameraComponent.
static EventCallbackFn GetEventCallbackFn()
Get Global Root Event Function Pointer.
Definition Event.cpp:17
This Class is the basic Event Class. Inherit from it and create specific event class.
Definition Event.h:96
static FrameInfo & Get()
Get FrameInfo.
Definition FrameInfo.cpp:14
FrameInfo Class. This class defines the FrameInfo data.
Definition FrameInfo.h:32
This Class is inherited from Event Class.
Definition WorldEvent.h:43
Native C++ Script Class.
This Class handles our engine time step during frames. Global Unique.
Definition TimeStep.h:22
virtual void OnTick(TimeStep &ts) override
This interface defines the behave on specific component tick every frame.
virtual void OnEvent(Event &e) override
This interface defines the behave on specific component event happened.
virtual ~WorldMarkQuerier() override=default
Destructor Function.
WorldMarkQuerier()=default
Constructor Function.
Script of handle world mark.
uint32_t WorldMarkFlags
Definition World.h:53
@ FrushStableFrame
Definition World.h:48
@ MeshAddedToWorld
Definition World.h:47
World Class. This class defines the basic behaves of World. When we create an new world,...
Definition World.h:41