Mesh:setCullMode: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2021.11<br/> '''Class:''' Mesh<br/> === Description === Sets the mesh face culling mode. <source lang="lua"> Mesh:setsetCullMode(..."
 
No edit summary
Line 9: Line 9:
</source>
</source>


'''cullmode''' is of type string and can be one of the following values:
'''cullmode''' is of type integer and can be one of the following values:
*'''"CULL_NONE"'''
*'''1''' = CULL_NONE
*'''"CULL_FRONT"'''
*'''2''' = CULL_FRONT
*'''"CULL_BACK"'''
*'''3''' = CULL_BACK


=== Parameters ===
=== Parameters ===
'''cullmode''': (string) one of the cull mode type<br/>
'''cullmode''': (number) one of the available culling mode<br/>


=== Example ===
=== Example ===

Revision as of 00:20, 18 September 2022