3#include <JoltPlugin/JoltPluginDLL.h>
4#include <JoltPlugin/Resources/JoltMeshResource.h>
5#include <RendererCore/Components/RenderComponent.h>
6#include <RendererCore/Meshes/MeshComponent.h>
7#include <RendererCore/Meshes/MeshResource.h>
8#include <RendererCore/Pipeline/RenderData.h>
68 void SetMeshFile(
const char* szFile);
69 const char* GetMeshFile()
const;
77 void CreateCollisionRenderMesh();
virtual void SerializeComponent(plWorldWriter &inout_stream) const
Override this to save the current state of the component to the given stream.
Definition Component.cpp:54
virtual void DeserializeComponent(plWorldReader &inout_stream)
Override this to load the current state of the component from the given stream.
Definition Component.cpp:58
virtual void Initialize()
Can be overridden for basic initialization that depends on a valid hierarchy and position.
Definition Component.cpp:131
Definition ComponentManager.h:88
Visualizes a Jolt collision mesh that is attached to the same game object.
Definition JoltVisColMeshComponent.h:42
Definition JoltVisColMeshComponent.h:11
virtual void Deinitialize() override
This method is called before the destructor. A derived type can override this method to do deinitiali...
Definition JoltVisColMeshComponent.cpp:218
virtual void Initialize() override
This method is called after the constructor. A derived type can override this method to do initializa...
Definition JoltVisColMeshComponent.cpp:206
Provides a simple mechanism for mutual exclusion to prevent multiple threads from accessing a shared ...
Definition Mutex.h:13
Base class for objects that should be rendered.
Definition RenderComponent.h:9
virtual plResult GetLocalBounds(plBoundingBoxSphere &ref_bounds, bool &ref_bAlwaysVisible, plMsgUpdateLocalBounds &ref_msg)=0
Called by plRenderComponent::OnUpdateLocalBounds(). If PL_SUCCESS is returned, bounds and bAlwaysVisi...
A world encapsulates a scene graph of game objects and various component managers and their component...
Definition World.h:22
Reads a world description from a stream. Allows to instantiate that world multiple times in different...
Definition WorldReader.h:47
Stores an entire plWorld in a stream.
Definition WorldWriter.h:13
A handle to a component.
Definition Declarations.h:138
Definition UpdateLocalBoundsMessage.h:9
These events may be sent by a specific plResource or by the plResourceManager.
Definition Declarations.h:22
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
Definition WorldModule.h:33