|
|
| SkeletalModel () |
| | Constructs a SkeletalModel object by default.
|
| |
|
| SkeletalModel (const SkeletalModel &model)=default |
| |
|
| SkeletalModel (SkeletalModel &&model)=default |
| |
| void | AddToRenderQueue (AbstractRenderQueue *renderQueue, const InstanceData &instanceData) const override |
| | Adds the skeletal mesh to the rendering queue. More...
|
| |
| void | AdvanceAnimation (float elapsedTime) |
| | Updates the animation of the mesh. More...
|
| |
| SkeletalModel * | Clone () const |
| | Clones this skeletal model. More...
|
| |
| SkeletalModel * | Create () const |
| | Creates a default skeletal model. More...
|
| |
| void | EnableAnimation (bool animation) |
| | Enables the animation of the model. More...
|
| |
| Animation * | GetAnimation () const |
| | Gets the animation of the model. More...
|
| |
| Skeleton * | GetSkeleton () |
| | Gets the skeleton of the model. More...
|
| |
| const Skeleton * | GetSkeleton () const |
| | Gets the skeleton of the model. More...
|
| |
| bool | HasAnimation () const |
| | Checks whether the skeleton has an animation. More...
|
| |
| bool | IsAnimated () const override |
| | Checks whether the skeleton is animated. More...
|
| |
| bool | IsAnimationEnabled () const |
| | Checks whether the skeleton is currently animated. More...
|
| |
| bool | LoadFromFile (const String &filePath, const SkeletalModelParameters ¶ms=SkeletalModelParameters()) |
| | Loads the skeleton model from file. More...
|
| |
| bool | LoadFromMemory (const void *data, std::size_t size, const SkeletalModelParameters ¶ms=SkeletalModelParameters()) |
| | Loads the skeleton model from memory. More...
|
| |
| bool | LoadFromStream (Stream &stream, const SkeletalModelParameters ¶ms=SkeletalModelParameters()) |
| | Loads the skeleton model from stream. More...
|
| |
| bool | SetAnimation (Animation *animation) |
| | Sets the animation for the model. More...
|
| |
| void | SetMesh (Mesh *mesh) override |
| | Sets the mesh for the model. More...
|
| |
| bool | SetSequence (const String &sequenceName) |
| | Sets the sequence for the model. More...
|
| |
| void | SetSequence (unsigned int sequenceIndex) |
| | Sets the sequence for the model. More...
|
| |
|
SkeletalModel & | operator= (const SkeletalModel &node)=default |
| |
|
SkeletalModel & | operator= (SkeletalModel &&node)=default |
| |
|
| Model () |
| | Constructs a Model object by default.
|
| |
|
| Model (const Model &model)=default |
| |
|
| Model (Model &&model)=default |
| |
|
virtual | ~Model () |
| | Destructs the object and cleans resources.
|
| |
| void | AddToRenderQueue (AbstractRenderQueue *renderQueue, const Matrix4f &transformMatrix, unsigned int renderOrder=0) |
| | Adds this model to a render queue, using user-specified transform matrix and render order. More...
|
| |
| const MaterialRef & | GetMaterial (const String &subMeshName) const |
| | Gets the material of the named submesh. More...
|
| |
| const MaterialRef & | GetMaterial (std::size_t skinIndex, const String &subMeshName) const |
| | Gets the material by index of the named submesh. More...
|
| |
| Mesh * | GetMesh () const |
| | Gets the mesh. More...
|
| |
| bool | LoadFromFile (const String &filePath, const ModelParameters ¶ms=ModelParameters()) |
| | Loads the model from file. More...
|
| |
| bool | LoadFromMemory (const void *data, std::size_t size, const ModelParameters ¶ms=ModelParameters()) |
| | Loads the model from memory. More...
|
| |
| bool | LoadFromStream (Stream &stream, const ModelParameters ¶ms=ModelParameters()) |
| | Loads the model from stream. More...
|
| |
| bool | SetMaterial (const String &subMeshName, MaterialRef material) |
| | Sets the material of the named submesh. More...
|
| |
| bool | SetMaterial (std::size_t skinIndex, const String &subMeshName, MaterialRef material) |
| | Sets the material by index of the named submesh. More...
|
| |
|
Model & | operator= (const Model &node)=default |
| |
|
Model & | operator= (Model &&node)=default |
| |
|
| InstancedRenderable () |
| | Constructs a InstancedRenderable object by default.
|
| |
| | InstancedRenderable (const InstancedRenderable &renderable) |
| | Constructs a InstancedRenderable object by assignation. More...
|
| |
|
| InstancedRenderable (InstancedRenderable &&renderable)=delete |
| |
| virtual | ~InstancedRenderable () |
| | Destructs the object and calls OnInstancedRenderableRelease. More...
|
| |
| virtual bool | Cull (const Frustumf &frustum, const InstanceData &instanceData) const |
| | Culls the instanced if not in the frustum. More...
|
| |
|
void | EnsureBoundingVolumeUpdated () const |
| | Ensures that the bounding volume is up to date.
|
| |
| virtual const BoundingVolumef & | GetBoundingVolume () const |
| | Gets the bounding volume. More...
|
| |
| const MaterialRef & | GetMaterial (std::size_t matIndex=0) const |
| | Gets one of the material used by the object. More...
|
| |
| const MaterialRef & | GetMaterial (std::size_t skinIndex, std::size_t matIndex) const |
| | Gets one of the material used by the object, independently from the active skin. More...
|
| |
| std::size_t | GetMaterialCount () const |
| | Gets the number of material per skin. More...
|
| |
| std::size_t | GetSkin () const |
| | Gets the current active skin index. More...
|
| |
| std::size_t | GetSkinCount () const |
| | Gets the number of skins this object has. More...
|
| |
| virtual void | InvalidateData (InstanceData *instanceData, UInt32 flags) const |
| | Invalidates data for instanced. More...
|
| |
| void | SetSkin (std::size_t skinIndex) |
| | Changes the active skin. More...
|
| |
| void | SetSkinCount (std::size_t skinCount) |
| | Changes the maximum skin count of the object. More...
|
| |
| virtual void | UpdateBoundingVolume (InstanceData *instanceData) const |
| | Updates the bounding volume. More...
|
| |
| virtual void | UpdateData (InstanceData *instanceData) const |
| | Updates the instance data. More...
|
| |
| InstancedRenderable & | operator= (const InstancedRenderable &renderable) |
| | Sets the current instanced renderable with the content of the other one. More...
|
| |
|
InstancedRenderable & | operator= (InstancedRenderable &&renderable)=delete |
| |
|
| NazaraSignal (OnInstancedRenderableInvalidateBoundingVolume, const InstancedRenderable *) |
| |
|
| NazaraSignal (OnInstancedRenderableInvalidateData, const InstancedRenderable *, UInt32) |
| |
|
| NazaraSignal (OnInstancedRenderableInvalidateMaterial, const InstancedRenderable *, std::size_t, std::size_t, const MaterialRef &) |
| |
|
| NazaraSignal (OnInstancedRenderableRelease, const InstancedRenderable *) |
| |
|
| NazaraSignal (OnInstancedRenderableResetMaterials, const InstancedRenderable *, std::size_t) |
| |
|
| NazaraSignal (OnInstancedRenderableSkinChange, const InstancedRenderable *, std::size_t) |
| |
| | RefCounted (bool persistent=true) |
| | Constructs a RefCounted object with a persistance aspect. More...
|
| |
|
| RefCounted (const RefCounted &)=delete |
| |
|
| RefCounted (RefCounted &&)=default |
| |
| virtual | ~RefCounted () |
| | Destructs the object. More...
|
| |
|
void | AddReference () const |
| | Adds a reference to the object.
|
| |
| unsigned int | GetReferenceCount () const |
| | Gets the number of references to the object. More...
|
| |
| bool | IsPersistent () const |
| | Checks whether the object is persistent. More...
|
| |
| bool | RemoveReference () const |
| | Removes a reference to the object. More...
|
| |
| bool | SetPersistent (bool persistent=true, bool checkReferenceCount=false) |
| | Sets the persistence of the object. More...
|
| |
|
RefCounted & | operator= (const RefCounted &)=delete |
| |
|
RefCounted & | operator= (RefCounted &&)=default |
| |
|
| Resource (const Resource &)=default |
| |
|
| Resource (Resource &&) noexcept=default |
| |
| const String & | GetFilePath () const |
| | Gets the file path associated with the resource. More...
|
| |
| void | SetFilePath (const String &filePath) |
| | Sets the file path associated with the resource. More...
|
| |
|
Resource & | operator= (const Resource &)=default |
| |
|
Resource & | operator= (Resource &&) noexcept=default |
| |
Graphics class that represents a model with a skeleton.