MotionScript

@motion-script/core


@motion-script/core / TextureOptions3D

Interface: TextureOptions3D

Defined in: render3d/texture.ts:26

Sampler state shared by every texture source.

Extended by

Properties

anisotropy?

optional anisotropy?: number

Defined in: render3d/texture.ts:38

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


center?

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

Defined in: render3d/texture.ts:34


colorSpace?

optional colorSpace?: TextureColorSpace3D

Defined in: render3d/texture.ts:40


flipY?

optional flipY?: boolean

Defined in: render3d/texture.ts:39


magFilter?

optional magFilter?: TextureFilter3D

Defined in: render3d/texture.ts:35


minFilter?

optional minFilter?: TextureFilter3D

Defined in: render3d/texture.ts:36


offset?

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

Defined in: render3d/texture.ts:31


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).


rotation?

optional rotation?: number

Defined in: render3d/texture.ts:33

UV rotation in degrees, about center.


wrapS?

optional wrapS?: TextureWrap3D

Defined in: render3d/texture.ts:27


wrapT?

optional wrapT?: TextureWrap3D

Defined in: render3d/texture.ts:28