Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • PartParameters

Index

Properties

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

height?: number

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

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

Part center position

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

Part rotation

u?: number

Texture horizontal offset

v?: number

Texture vertical offset

width?: number

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

Generated using TypeDoc