Readonly
customReadonly
geometryReadonly
layerReadonly
materialReadonly
textureThe data of the file.
Name of the file to add. May include a path. e.g. "textures/123.jpg". Has to be lowercase.
Optional
pCompress: booleanIf true the file should be compressed (if supported by the implementation) otherwise the file should not be compressed. (Default: true)
Adds an already cached resource to the container. True should be returned if the file was added, otherwise false (e.g. if the file was not found inside the cache).
Name of the file to add. May include a path. e.g. "textures/123.jpg". Has to be lowercase.
Optional
pCompress: booleanIf true the file should be compressed (if supported by the implementation) otherwise the file should not be compressed. (Default: true)
Adds a binary or text resource which will be embedded in the document container using an url.
The file url.
Name of the file to add. May include a path. e.g. "textures/123.jpg". Has to be lowercase.
If true the file containes binary data.
Optional
pCompress: booleanIf true the file should be compressed (if supported by the implementation) otherwise the file should not be compressed. (Default: true)
Generated using TypeDoc
Adds a binary or text resource which will be embedded in the document container.