Skip to content

Documentation / scene / TextureProp

Type Alias: TextureProp<U>

TextureProp<U> = { [P in "Texture" | "TextureSampler" | "TexCoordIndex" | "TexCoordMatrix" as `${U}${P}`]: P extends "Texture" ? Nullable<Texture2D> : P extends "TextureSampler" ? Nullable<TextureSampler> : P extends "TexCoordIndex" ? number : P extends "TexCoordMatrix" ? Nullable<Matrix4x4> : never }

Defined in: libs/scene/src/material/mixins/texture.ts:45

TextureProp

Type Parameters

U

U extends string

Released under the MIT License.