TextureBinding
Defined in: packages/declarative-hex-worlds/src/texture-binding/texture-binding.ts:15
A texture bound to a model, optionally scoped to specific meshes/materials by name.
Properties
Section titled “Properties”assetId
Section titled “assetId”
readonlyassetId:string
Defined in: packages/declarative-hex-worlds/src/texture-binding/texture-binding.ts:17
Asset id of the model these textures apply to.
normalUrl?
Section titled “normalUrl?”
readonlyoptionalnormalUrl?:string
Defined in: packages/declarative-hex-worlds/src/texture-binding/texture-binding.ts:26
Optional normal-map URL applied alongside the base-color map.
targets?
Section titled “targets?”
readonlyoptionaltargets?: readonlystring[]
Defined in: packages/declarative-hex-worlds/src/texture-binding/texture-binding.ts:24
Names of the meshes/materials the texture applies to. When omitted, the texture is applied to EVERY mesh material in the model.
textureUrl
Section titled “textureUrl”
readonlytextureUrl:string
Defined in: packages/declarative-hex-worlds/src/texture-binding/texture-binding.ts:19
URL of the texture to apply as the base-color map.