* Fixed Shadow rendering * Added MakePlanarTextureMap, ReCalculateMeshNormals, GetMeshPolygonCount, and FlipMeshSurfaces
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
#title SetSpriteCanvasRenderPriority [RCBasic Doc]
|
|
#header function SetSpriteCanvasRenderPriority( c_num, priority, order )
|
|
|
|
Sets the order sprites are rendered on a sprite canvas.
|
|
|
|
Returns False if canvas is not a valid canvas
|
|
|
|
Possible priority values
|
|
#list ul
|
|
#li SPRITE_PRIORITY_NONE - Sprites are rendered in the order they are added
|
|
#li SPRITE_PRIORITY_LEAST_X - Sprites are rendered based on the X position
|
|
#li SPRITE_PRIORITY_GREATEST_X - Sprites are rendered based on the X position plus the width
|
|
#list ul
|
|
#li NOTE: Width is adjusted by Scale when calculating the position
|
|
#/list
|
|
#li SPRITE_PRIORITY_LEAST_Y - Sprites are rendered based on the Y position
|
|
#li SPRITE_PRIORITY_GREATEST_Y - Sprites are rendered based on the Y position plus the height
|
|
#list ul
|
|
#li NOTE: Height is adjusted by Scale when calculating the position
|
|
#/list
|
|
#/list
|
|
<br>
|
|
|
|
Possible order values
|
|
#list ul
|
|
#li SPRITE_ORDER_ASCENDING - Sprites are ordered from lowest in priority to highest when rendered
|
|
#li SPRITE_ORDER_DESCENDING - Sprites are ordered from highest in priority to lowest when rendered
|
|
#/list
|
|
|
|
|
|
#ref GetSpriteCanvasRenderPriority
|