Shapemetry API / TextureAssetJSON
Type Alias: TextureAssetJSON
TextureAssetJSON =
object
Defined in: types.ts:236
Texture asset — addressed by id from MaterialJSON.*TextureId fields, so many materials can share one image. The binary lives either inline (dataUrl) or in an external blob store referenced by assetId.
width / height are in world units (e.g. inches for SketchUp).
Properties
id
id:
string
Defined in: types.ts:237
name
name:
string
Defined in: types.ts:238
assetId?
optionalassetId?:string
Defined in: types.ts:239
dataUrl?
optionaldataUrl?:string
Defined in: types.ts:240
width
width:
number
Defined in: types.ts:241
height
height:
number
Defined in: types.ts:242