MotionScript

@motion-script/core


@motion-script/core / texture3DSource

Function: texture3DSource()

texture3DSource(texture): string | null

Defined in: render3d/texture.ts:177

The asset src a texture reads from, or null when it has none (a data or surface texture). Used by the asset-tracking pass to enumerate what a 3D scene needs loaded — a null here means "nothing to request", not "not a texture".

Parameters

texture

Texture3D

Returns

string | null