class documentation

class SceneMetadata(Metadata): (source)

View In Hierarchy

Class for storing metadata about 3D scene samples.

Parameters
size_bytesthe size of scene definition and all children assets on disk, in bytes
mime_typethe MIME type of the scene
asset_countsdict of child asset file type to count
Class Method build_for Builds a SceneMetadata object for the given 3D scene.
Class Variable asset_counts Undocumented
Class Method _build_for_local Undocumented
Class Method _build_for_url Undocumented
@classmethod
def build_for(cls, scene_path, mime_type=None, _cache=None): (source)

Builds a SceneMetadata object for the given 3D scene.

Parameters
scene_patha scene path
mime_type:Nonethe MIME type of the scene. If not provided, defaults to application/octet-stream
_cacheUndocumented
Returns
a SceneMetadata
asset_counts: None = (source)

Undocumented

@classmethod
def _build_for_local(cls, scene_path, mime_type=None, cache=None): (source)
@classmethod
def _build_for_url(cls, scene_path, mime_type=None, cache=None): (source)