Перейти к основному содержанию

Render.PartParameters

An interface of the object that is used as Render.addPart parameter.

Index

Properties

optionaladd

add?: boolean

If false or not specified in Render.setPart call, the part is cleared, otherwise new parts and params are applied to the existing parts.

optionalheight

height?: number

Texture height, use the real texture file height or change it to stretch texture.

optionalpos

pos?: [number, number, number] | Vector

Part center position.

optionalrotation

rotation?: [number, number, number] | Vector

Part rotation.

optionalu

u?: number

Texture horizontal offset from left up corner.

optionalv

v?: number

Texture vertical offset from left up corner.

optionalwidth

width?: number

Texture width, use the real texture file width or change it to stretch texture.