Description:

Get the mesh for the primitive at the specified index. If the item at this index is a primitive type other than a mesh then it mesh representation is returned.

Syntax:
public Mesh MeshInstance(
int index,
out Transform instance_transform
)
deprecated in 8.0
Parameters:
  • index
  • Type: int
  • The zero based index of the item in the list. Valid values are greater than or equal to 0 and less than Count.
  • instance_transform
  • Type: Transform
  • Receives the transformation of this mesh.
Returns:
Type: Mesh
Returns the mesh for the primitive at the specified index. If the item at this index is a primitive type other than a mesh then it mesh representation is returned.
Available since:
6.12

Nothing found