Optionalsource: ArrayFixed<string | Resource, 6>Collection of URLs or resources to use as the sides of the cube.
Optionaloptions: ICubeResourceOptionsImageResource options
Constructor options for CubeResource.
OptionalautoLoad?: booleanWhether to auto-load resources
OptionallinkBaseTexture?: booleanIn case BaseTextures are supplied, whether to copy them or use.
Bound baseTexture, there can only be one.
ReadonlydestroyedIf resource has been destroyed.
true if resource is created by BaseTexture
useful for doing cleanup with BaseTexture destroy
and not cleaning up resources that were created
externally.
ReadonlyitemDirty IDs for each part.
ReadonlyitemsCollection of partial baseTextures that correspond to resources.
ReadonlylengthNumber of elements in array.
The url of the resource
StaticSIDESNumber of texture sides to store for CubeResources.
The height of the resource.
Has been validated
The width of the resource.
Set a baseTexture by ID
Zero-based index of resource to set
OptionallinkBaseTexture: booleanSet a resource by ID
Zero-based index of resource to set
Call when destroying resource, unbind any BaseTexture object before calling this method, as reference counts are maintained internally.
Destroy this BaseImageResource.
Trigger a resize event
X dimension
Y dimension
Set the style, optional to override
yeah, renderer!
the texture
texture instance for this webgl context
true is successHas been updated trigger event.
Upload the resource
true is success
StatictestUsed to auto-detect the type of resource.
The source object
true if source is an array of 6 elements
Resource for a CubeTexture which contains six resources.
Memberof
PIXI