csc.domain.assets.AssetsManager

class csc.domain.assets.AssetsManager

AssetsManager class

This class implements basic methods to manage assets

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

add(*args, **kwargs)

Overloaded function.

at(self, arg0)

-> Asset

erase(self, ids)

get_cube_mesh(arg0)

-> Mesh

get_plane_mesh(arg0)

-> Mesh

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.domain.assets'
add(*args, **kwargs)

Overloaded function.

  1. add(self: csc.domain.assets.AssetsManager, asset: csc.domain.assets.MeshBlendshape) -> csc.domain.AssetId

    -> csc.domain.AssetId

  2. add(self: csc.domain.assets.AssetsManager, asset: csc.domain.assets.Mesh) -> csc.domain.AssetId

    -> csc.domain.AssetId

  3. add(self: csc.domain.assets.AssetsManager, asset: csc.domain.assets.MeshDependency) -> csc.domain.AssetId

    -> csc.domain.AssetId

at(self: csc.domain.assets.AssetsManager, arg0: csc.domain.AssetId) object

-> Asset

erase(self: csc.domain.assets.AssetsManager, ids: set[csc.domain.AssetId]) None
static get_cube_mesh(arg0: float) csc.domain.assets.Mesh

-> Mesh

static get_plane_mesh(arg0: float) csc.domain.assets.Mesh

-> Mesh