Skip to content

Kuesa::Serenity::AssetCollections

Holds the collections of named assets generated when parsing a glTF file to be used with Serenity. More...

#include <Kuesa/Serenity/api/assetcollections.h>

Public Functions

Name
void clear()
void dump() const

Public Attributes

Name
AssetCollection< AnimationClipPtr > animationClips
AssetCollection< ChannelMapperPtr > animationMappers
AssetCollection<::Serenity::Camera * > cameras
AssetCollection<::Serenity::StereoCamera * > stereoCameras
AssetCollection<::Serenity::Entity * > entities
AssetCollection<::Serenity::Light * > lights
AssetCollection<::Serenity::Mesh * > meshes
AssetCollection< Serenity::GLTF2Material * > materials
AssetCollection<::Serenity::Texture * > textures
AssetCollection<::Serenity::Transform * > transforms

Detailed Description

1
class Kuesa::Serenity::AssetCollections;

Holds the collections of named assets generated when parsing a glTF file to be used with Serenity.

Since: Kuesa 2.0

The following collections are available:

Public Functions Documentation

function clear

1
inline void clear()

Clears the content of the collections.

function dump

1
inline void dump() const

Dumps the content of the collections into the console.

Public Attributes Documentation

variable animationClips

1
AssetCollection< AnimationClipPtr > animationClips;

variable animationMappers

1
AssetCollection< ChannelMapperPtr > animationMappers;

variable cameras

1
AssetCollection<::Serenity::Camera * > cameras;

variable stereoCameras

1
AssetCollection<::Serenity::StereoCamera * > stereoCameras;

variable entities

1
AssetCollection<::Serenity::Entity * > entities;

variable lights

1
AssetCollection<::Serenity::Light * > lights;

variable meshes

1
AssetCollection<::Serenity::Mesh * > meshes;

variable materials

1
AssetCollection< Serenity::GLTF2Material * > materials;

variable textures

1
AssetCollection<::Serenity::Texture * > textures;

variable transforms

1
AssetCollection<::Serenity::Transform * > transforms;

Updated on 2023-07-03 at 11:02:06 +0000