Classes

Scene/Components/Meshes

Brief descriptions

Detailed information

SkinnedMeshComponent

engine/core/modules/scene/include/nau/scene/components/skinned_mesh_component.h

class SkinnedMeshComponent : public nau::scene::SceneComponent

Public Functions

SkinnedMeshAssetRef &getMeshGeometry() const
void setMeshGeometry(const SkinnedMeshAssetRef &assetRef)
MaterialAssetRef &getMaterial() const
void setMaterial(const MaterialAssetRef &assetRef)
bool isMaterialDirty() const
void resetIsMaterialDirty()

Private Functions

Skinned Skinned Mesh (description)")) ( 1(m_geometryAsset

Private Members

true
Skinned Mesh
Skinned Skinned geometry
Skinned Skinned m_materialAsset
mutable SkinnedMeshAssetRef m_geometryAsset
mutable MaterialAssetRef m_materialAsset
bool m_isMaterialDirty = false

scene::StaticMeshComponent

engine/core/modules/scene/include/nau/scene/components/static_mesh_component.h

class StaticMeshComponent : public nau::scene::SceneComponent

Public Types

enum class DirtyFlags : uint32_t

Values:

enumerator WorldPos
enumerator Visibility
enumerator Material
enumerator CastShadow

Public Functions

StaticMeshAssetRef getMeshGeometry() const
void setMeshGeometry(StaticMeshAssetRef assetRef)
MaterialAssetRef &getMaterial() const
void setMaterial(const MaterialAssetRef &assetRef)
uint32_t getDirtyFlags() const
void resetDirtyFlags()
bool getVisibility()
void setVisibility(bool isVisible)
bool getCastShadow()
void setCastShadow(bool castShadow)

Protected Functions

virtual void notifyTransformChanged() override
virtual void notifyTransformChanged(const math::Transform &worldTransformCache) override

Private Functions

Static Static Mesh (description)")) ( 1(m_geometryAsset

Private Members

SystemComponentAttrib
true
ComponentDisplayNameAttrib
Static Mesh
Static ComponentDescriptionAttrib
Static Static geometry
Static Static m_materialAsset
Static Static material
Static Static m_isVisible
Static Static is visible
Static Static is m_castShadow
mutable StaticMeshAssetRef m_geometryAsset
mutable MaterialAssetRef m_materialAsset
bool m_castShadow = true
bool m_isVisible = true
uint32_t m_dirtyFlags = 0