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

RenderMesh.ImportParams

Object used in RenderMesh.importFromFile and one of RenderMesh constructors. Here you can put some additional parameters, that will be applied to the mesh, when the file is being imported.

Index

Properties

optionalclear

clear?: boolean

If true, all existing vertices of the mesh are deleted before the file is imported.

optionalinvertV

invertV?: boolean

If true, vertex of the texture is inverted.

optionalnoRebuild

noRebuild?: boolean

If true, Minecraft won't be forced to rebuild the following RenderMesh before the file is imported.

optionalscale

scale?: [number, number, number]

Additional scale along x, y and z axis.

optionaltranslate

translate?: [number, number, number]

Additional translation along x, y and z axis.