MotionScript

@motion-script/core


@motion-script/core / ImageTexture3D

Interface: ImageTexture3D

Defined in: render3d/texture.ts:50

A texture loaded from the project's asset manifest.

src is discovered by the asset-tracking render pass and requested through core's ordinary image pipeline — the very same path a 2D image fill uses — so the pixels are decoded and resident before the frame that needs them draws.

Extends

Properties

anisotropy?

optional anisotropy?: number

Defined in: render3d/texture.ts:38

Sharpness at grazing angles. Clamped to the GPU's maximum.

Inherited from

TextureOptions3D.anisotropy


center?

optional center?: Vector2 | readonly [number, number]

Defined in: render3d/texture.ts:34

Inherited from

TextureOptions3D.center


colorSpace?

optional colorSpace?: TextureColorSpace3D

Defined in: render3d/texture.ts:40

Inherited from

TextureOptions3D.colorSpace


flipY?

optional flipY?: boolean

Defined in: render3d/texture.ts:39

Inherited from

TextureOptions3D.flipY


magFilter?

optional magFilter?: TextureFilter3D

Defined in: render3d/texture.ts:35

Inherited from

TextureOptions3D.magFilter


minFilter?

optional minFilter?: TextureFilter3D

Defined in: render3d/texture.ts:36

Inherited from

TextureOptions3D.minFilter


offset?

optional offset?: Vector2 | readonly [number, number]

Defined in: render3d/texture.ts:31

Inherited from

TextureOptions3D.offset


repeat?

optional repeat?: Vector2 | readonly [number, number]

Defined in: render3d/texture.ts:30

UV scale. [2, 2] tiles twice on each axis (needs a repeat wrap).

Inherited from

TextureOptions3D.repeat


rotation?

optional rotation?: number

Defined in: render3d/texture.ts:33

UV rotation in degrees, about center.

Inherited from

TextureOptions3D.rotation


src

src: string

Defined in: render3d/texture.ts:51


wrapS?

optional wrapS?: TextureWrap3D

Defined in: render3d/texture.ts:27

Inherited from

TextureOptions3D.wrapS


wrapT?

optional wrapT?: TextureWrap3D

Defined in: render3d/texture.ts:28

Inherited from

TextureOptions3D.wrapT