The size of each face of the cube texture.
The texture format.
Indicates whether to generate mipmaps for the cube texture.
Indicates whether the texture uses sRGB color space.
Indicates whether the texture data is premultiplied by the alpha channel.
可选lock可选name静态DEBUG静态black静态cpu静态error静态gpu静态gray静态white增加一个依赖内容
依赖内容
增加多个依赖内容
依赖内容
The type of event.
可选data: any(Optional) Data to pass to the callback. If multiple parameters p1, p2, p3, ... need to be passed, use an array structure such as [p1, p2, p3, ...]. If a single parameter p needs to be passed and p is an array, use a structure such as [p]. For other single parameters p, you can directly pass parameter p. If data is Event.EMPTY, it means passing an Event object to the callback function. Note that it is not passing Event.TEMP, but an independent Event object.
True if there are listeners for this event type, false otherwise.
The type of event.
The listener function.
This EventDispatcher object.
The type of event.
The execution scope of the event listener function.
可选listener: FunctionThe listener function.
可选args: any[]This EventDispatcher object.
可选type: string(Optional) The type of event. If the value is null, all types of listeners on this object are removed.
This EventDispatcher object.
The target caller object.
This EventDispatcher object.
The type of event.
The listener function.
This EventDispatcher object.
The type of event.
The execution scope of the event listener function.
The listener function.
可选args: any[](Optional) The callback parameters of the event listener function.
This EventDispatcher object.
The type of event.
The listener function.
This EventDispatcher object.
The type of event.
The execution scope of the event listener function.
The listener function.
可选args: any[](Optional) The callback parameters of the event listener function.
This EventDispatcher object.
The DDS texture information containing the data to be set.
An array of image elements, one for each face of the cube.
Whether to premultiply the alpha channel of the image data.
Whether to invert the Y-axis of the image data.
The KTX texture information containing the data to be set.
An array of pixel data for each face of the cube texture.
The x-offset for the sub-pixel data.
The y-offset for the sub-pixel data.
The width of the sub-region to update.
The height of the sub-region to update.
The mipmap level to update.
Whether to generate mipmaps after the update.
Whether to premultiply the alpha.
Whether to invert the Y-axis of the pixel data.
静态destroy
En
TextureCube class used to generate cube texture.
Zh
TextureCube 类用于生成立方体纹理。