Difference between revisions of "Mesh:setAutoSort"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2024.2<br/> '''Class:''' Mesh<br/> === Description === Enables depth sorting for translucency for the children of a mesh, from th...") |
(No difference)
|
Latest revision as of 00:36, 21 February 2024
Available since: Gideros 2024.2
Class: Mesh
Description
Enables depth sorting for translucency for the children of a mesh, from the farthest to the nearest. Useful for 3D, not so much for 2D ;-) .
Mesh:setAutoSort(bool)
Parameters
bool: (boolean) set children auto depth sorting, default = false
- Mesh
- Mesh.new
- Mesh:clearColorArray
- Mesh:clearIndexArray
- Mesh:clearTexture
- Mesh:clearTextureCoordinateArray
- Mesh:clearVertexArray
- Mesh:getColor
- Mesh:getColorArraySize
- Mesh:getIndex
- Mesh:getIndexArraySize
- Mesh:getTextureCoordinate
- Mesh:getTextureCoordinateArraySize
- Mesh:getVertex
- Mesh:getVertexArraySize
- Mesh:resizeColorArray
- Mesh:resizeIndexArray
- Mesh:resizeTextureCoordinateArray
- Mesh:resizeVertexArray
- Mesh:setAutoSort
- Mesh:setColor
- Mesh:setColorArray
- Mesh:setColors
- Mesh:setCullMode
- Mesh:setGenericArray
- Mesh:setIndex
- Mesh:setIndexArray
- Mesh:setIndices
- Mesh:setInstanceCount
- Mesh:setPrimitiveType
- Mesh:setTexture
- Mesh:setTextureCoordinate
- Mesh:setTextureCoordinateArray
- Mesh:setTextureCoordinates
- Mesh:setVertex
- Mesh:setVertexArray
- Mesh:setVertices