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

Render.PartElement

Part's box description specified in Render.setPart method.

Index

Properties

optionalchildren

children?: PartElement[]

Specifies child elements, using current box coordinates as base for the child boxes.

coords

coords: Vector

Box coordinates, relative to part's coordinates.

size

size: { w?: number; x: number; y: number; z: number }

Box size.

@param

additional size to be added from all the six sizes of the box


Type declaration

  • optionalw?: number
  • x: number
  • y: number
  • z: number

optionaluv

uv?: { x: number; y: number }

Box texture offset.


Type declaration

  • x: number
  • y: number