Skip to content

Documentation / scene / getDefaultTexture2DArray

Function: getDefaultTexture2DArray()

getDefaultTexture2DArray(): Texture2DArray

Defined in: libs/scene/src/utility/blueprint/material/texture.ts:65

Gets or creates the default 2D array texture

Returns

Texture2DArray

A 1x1x1 white Texture2DArray instance

Remarks

Returns a 1x1x1 white (255, 255, 255, 255) array texture used as a fallback when no texture is assigned to a 2D array texture node.

Released under the MIT License.