Fixed Shadow Rendering
* Fixed Shadow rendering * Added MakePlanarTextureMap, ReCalculateMeshNormals, GetMeshPolygonCount, and FlipMeshSurfaces
This commit is contained in:
@@ -9,6 +9,38 @@
|
||||
<body>
|
||||
<p><h2>function GetAntiAliasMode( ) </h2></p>
|
||||
<p>
|
||||
Returns the anti-alias mode for draw image commands
|
||||
</p>
|
||||
<p>
|
||||
Possible modes
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
AA_MODE_OFF
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_SIMPLE
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_QUALITY
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_LINE_SMOOTH
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_POINT_SMOOTH
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_FULL_BASIC
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_ALPHA_TO_COVERAGE
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="setantialiasmode.html">SetAntiAliasMode</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
46
doc/doc_files/getspritecanvasantialiasmode.html
Normal file
46
doc/doc_files/getspritecanvasantialiasmode.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>GetSpriteCanvasAntiAliasMode [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>function GetSpriteCanvasAntiAliasMode( c_num ) </h2></p>
|
||||
<p>
|
||||
Returns the anti-alias mode for a sprite canvas
|
||||
</p>
|
||||
<p>
|
||||
Possible modes
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
AA_MODE_OFF
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_SIMPLE
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_QUALITY
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_LINE_SMOOTH
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_POINT_SMOOTH
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_FULL_BASIC
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_ALPHA_TO_COVERAGE
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="setspritecanvasantialiasmode.html">SetSpriteCanvasAntiAliasMode</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
20
doc/doc_files/getspritecanvasbilinearfilter.html
Normal file
20
doc/doc_files/getspritecanvasbilinearfilter.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>GetSpriteCanvasBilinearFilter [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>function GetSpriteCanvasBilinearFilter( c_num ) </h2></p>
|
||||
<p>
|
||||
Returns the bi-linear filter flag for the sprite canvas
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="setspritecanvasbilinearfilter.html">SetSpriteCanvasBilinearFilter</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
56
doc/doc_files/getspritecanvasblendmode.html
Normal file
56
doc/doc_files/getspritecanvasblendmode.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>GetSpriteCanvasBlendMode [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>function GetSpriteCanvasBlendMode( c_num ) </h2></p>
|
||||
<p>
|
||||
Returns the blend mode used to render sprites on the sprite canvas
|
||||
</p>
|
||||
<p>
|
||||
Possible Blend Modes
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
BLEND_MODE_NONE
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_ADD
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_SUBTRACT
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_REVSUBTRACT
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MIN
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MAX
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MIN_FACTOR
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MAX_FACTOR
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MIN_ALPHA
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MAX_ALPHA
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="setspritecanvasblendmode.html">SetSpriteCanvasBlendMode</a>
|
||||
<a href="setblendmode.html">SetBlendMode</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
23
doc/doc_files/getspritecanvasphysics.html
Normal file
23
doc/doc_files/getspritecanvasphysics.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>GetSpriteCanvasPhysics [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>function GetSpriteCanvasPhysics( c_num ) </h2></p>
|
||||
<p>
|
||||
Returns the physics stage of a sprite canvas
|
||||
</p>
|
||||
<p>
|
||||
Return values can be true or false
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="setcanvasphysics2d.html">SetCanvasPhysics2D</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
64
doc/doc_files/getspritecanvasrenderpriority.html
Normal file
64
doc/doc_files/getspritecanvasrenderpriority.html
Normal file
@@ -0,0 +1,64 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>GetSpriteCanvasRenderPriority [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>sub GetSpriteCanvasRenderPriority( c_num, ByRef priority, ByRef order ) </h2></p>
|
||||
<p>
|
||||
Gets the order sprites are rendered on a sprite canvas.
|
||||
</p>
|
||||
<p>
|
||||
Possible priority values
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
SPRITE_PRIORITY_NONE - Sprites are rendered in the order they are added
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_PRIORITY_LEAST_X - Sprites are rendered based on the X position
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_PRIORITY_GREATEST_X - Sprites are rendered based on the X position plus the width
|
||||
<ul>
|
||||
<li>
|
||||
NOTE: Width is adjusted by Scale when calculating the position
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_PRIORITY_LEAST_Y - Sprites are rendered based on the Y position
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_PRIORITY_GREATEST_Y - Sprites are rendered based on the Y position plus the height
|
||||
<ul>
|
||||
<li>
|
||||
NOTE: Height is adjusted by Scale when calculating the position
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<br>
|
||||
</p>
|
||||
<p>
|
||||
Possible order values
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
SPRITE_ORDER_ASCENDING - Sprites are ordered from lowest in priority to highest when rendered
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_ORDER_DESCENDING - Sprites are ordered from highest in priority to lowest when rendered
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="setspritecanvasrenderpriority.html">SetSpriteCanvasRenderPriority</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1683,6 +1683,14 @@ ul, #myUL {
|
||||
|
||||
<li><a href="recalculatemeshboundingbox.html" target="main">ReCalculateMeshBoundingBox</a></li>
|
||||
|
||||
<li><a href="makeplanartexturemap.html" target="main">MakePlanarTextureMap</a></li>
|
||||
|
||||
<li><a href="recalculatemeshnormals.html" target="main">ReCalculateMeshNormals</a></li>
|
||||
|
||||
<li><a href="getmeshpolygoncount.html" target="main">GetMeshPolygonCount</a></li>
|
||||
|
||||
<li><a href="flipmeshsurfaces.html" target="main">FlipMeshSurfaces</a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -9,6 +9,38 @@
|
||||
<body>
|
||||
<p><h2>sub SetAntiAliasMode( aa_mode ) </h2></p>
|
||||
<p>
|
||||
Sets the anti-alias mode for draw image commands
|
||||
</p>
|
||||
<p>
|
||||
Possible modes
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
AA_MODE_OFF
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_SIMPLE
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_QUALITY
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_LINE_SMOOTH
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_POINT_SMOOTH
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_FULL_BASIC
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_ALPHA_TO_COVERAGE
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="getantialiasmode.html">GetAntiAliasMode</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
46
doc/doc_files/setspritecanvasantialiasmode.html
Normal file
46
doc/doc_files/setspritecanvasantialiasmode.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>SetSpriteCanvasAntiAliasMode [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>sub SetSpriteCanvasAntiAliasMode( c_num, aa_mode ) </h2></p>
|
||||
<p>
|
||||
Sets the anti-alias mode for a sprite canvas
|
||||
</p>
|
||||
<p>
|
||||
Possible modes
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
AA_MODE_OFF
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_SIMPLE
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_QUALITY
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_LINE_SMOOTH
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_POINT_SMOOTH
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_FULL_BASIC
|
||||
</li>
|
||||
<li>
|
||||
AA_MODE_ALPHA_TO_COVERAGE
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="getspritecanvasantialiasmode.html">GetSpriteCanvasAntiAliasMode</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
20
doc/doc_files/setspritecanvasbilinearfilter.html
Normal file
20
doc/doc_files/setspritecanvasbilinearfilter.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>SetSpriteCanvasBilinearFilter [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>sub SetSpriteCanvasBilinearFilter( c_num, flag ) </h2></p>
|
||||
<p>
|
||||
Enables or disables bi-linear filter for the sprite canvas
|
||||
</p>
|
||||
<br><p>Related:
|
||||
<a href="getspritecanvasbilinearfilter.html">GetSpriteCanvasBilinearFilter</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
56
doc/doc_files/setspritecanvasblendmode.html
Normal file
56
doc/doc_files/setspritecanvasblendmode.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>SetSpriteCanvasBlendMode [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>sub SetSpriteCanvasBlendMode( c_num, blend_mode ) </h2></p>
|
||||
<p>
|
||||
Sets the blend mode used to render sprites on the given sprite canvas
|
||||
</p>
|
||||
<p>
|
||||
Possible Blend Modes
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
BLEND_MODE_NONE
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_ADD
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_SUBTRACT
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_REVSUBTRACT
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MIN
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MAX
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MIN_FACTOR
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MAX_FACTOR
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MIN_ALPHA
|
||||
</li>
|
||||
<li>
|
||||
BLEND_MODE_MAX_ALPHA
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="setcanvasblendmode.html">SetCanvasBlendMode</a>
|
||||
<a href="getspritecanvasblendmode.html">GetSpriteCanvasBlendMode</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
67
doc/doc_files/setspritecanvasrenderpriority.html
Normal file
67
doc/doc_files/setspritecanvasrenderpriority.html
Normal file
@@ -0,0 +1,67 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>SetSpriteCanvasRenderPriority [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>function SetSpriteCanvasRenderPriority( c_num, priority, order ) </h2></p>
|
||||
<p>
|
||||
Sets the order sprites are rendered on a sprite canvas.
|
||||
</p>
|
||||
<p>
|
||||
Returns False if canvas is not a valid canvas
|
||||
</p>
|
||||
<p>
|
||||
Possible priority values
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
SPRITE_PRIORITY_NONE - Sprites are rendered in the order they are added
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_PRIORITY_LEAST_X - Sprites are rendered based on the X position
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_PRIORITY_GREATEST_X - Sprites are rendered based on the X position plus the width
|
||||
<ul>
|
||||
<li>
|
||||
NOTE: Width is adjusted by Scale when calculating the position
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_PRIORITY_LEAST_Y - Sprites are rendered based on the Y position
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_PRIORITY_GREATEST_Y - Sprites are rendered based on the Y position plus the height
|
||||
<ul>
|
||||
<li>
|
||||
NOTE: Height is adjusted by Scale when calculating the position
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
<br>
|
||||
</p>
|
||||
<p>
|
||||
Possible order values
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
SPRITE_ORDER_ASCENDING - Sprites are ordered from lowest in priority to highest when rendered
|
||||
</li>
|
||||
<li>
|
||||
SPRITE_ORDER_DESCENDING - Sprites are ordered from highest in priority to lowest when rendered
|
||||
</li>
|
||||
</ul>
|
||||
<br><p>Related:
|
||||
<a href="getspritecanvasrenderpriority.html">GetSpriteCanvasRenderPriority</a>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
4
doc/files/flipmeshsurfaces.txt
Normal file
4
doc/files/flipmeshsurfaces.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
#title FlipMeshSurfaces [RCBasic Doc]
|
||||
#header Sub FlipMeshSurfaces( mesh )
|
||||
|
||||
Changes the facing direction of triangles in a mesh
|
||||
@@ -1,4 +1,17 @@
|
||||
#title GetAntiAliasMode [RCBasic Doc]
|
||||
#header function GetAntiAliasMode( )
|
||||
|
||||
Returns the anti-alias mode for draw image commands
|
||||
|
||||
Possible modes
|
||||
#list
|
||||
#li AA_MODE_OFF
|
||||
#li AA_MODE_SIMPLE
|
||||
#li AA_MODE_QUALITY
|
||||
#li AA_MODE_LINE_SMOOTH
|
||||
#li AA_MODE_POINT_SMOOTH
|
||||
#li AA_MODE_FULL_BASIC
|
||||
#li AA_MODE_ALPHA_TO_COVERAGE
|
||||
#/list
|
||||
|
||||
#ref SetAntiAliasMode
|
||||
|
||||
4
doc/files/getmeshpolygoncount.txt
Normal file
4
doc/files/getmeshpolygoncount.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
#title GetMeshPolygonCount [RCBasic Doc]
|
||||
#header Function GetMeshPolygonCount( mesh )
|
||||
|
||||
Returns the number of polygons in a mesh
|
||||
@@ -1,4 +1,17 @@
|
||||
#title GetSpriteCanvasAntiAliasMode [RCBasic Doc]
|
||||
#header function GetSpriteCanvasAntiAliasMode( c_num )
|
||||
|
||||
Returns the anti-alias mode for a sprite canvas
|
||||
|
||||
Possible modes
|
||||
#list
|
||||
#li AA_MODE_OFF
|
||||
#li AA_MODE_SIMPLE
|
||||
#li AA_MODE_QUALITY
|
||||
#li AA_MODE_LINE_SMOOTH
|
||||
#li AA_MODE_POINT_SMOOTH
|
||||
#li AA_MODE_FULL_BASIC
|
||||
#li AA_MODE_ALPHA_TO_COVERAGE
|
||||
#/list
|
||||
|
||||
#ref SetSpriteCanvasAntiAliasMode
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#title GetSpriteCanvasBilinearFilter [RCBasic Doc]
|
||||
#header function GetSpriteCanvasBilinearFilter( c_num )
|
||||
|
||||
Returns the bi-linear filter flag for the sprite canvas
|
||||
|
||||
#ref SetSpriteCanvasBilinearFilter
|
||||
|
||||
@@ -1,4 +1,20 @@
|
||||
#title GetSpriteCanvasBlendMode [RCBasic Doc]
|
||||
#header function GetSpriteCanvasBlendMode( c_num )
|
||||
|
||||
Returns the blend mode used to render sprites on the sprite canvas
|
||||
|
||||
Possible Blend Modes
|
||||
#list ul
|
||||
#li BLEND_MODE_NONE
|
||||
#li BLEND_MODE_ADD
|
||||
#li BLEND_MODE_SUBTRACT
|
||||
#li BLEND_MODE_REVSUBTRACT
|
||||
#li BLEND_MODE_MIN
|
||||
#li BLEND_MODE_MAX
|
||||
#li BLEND_MODE_MIN_FACTOR
|
||||
#li BLEND_MODE_MAX_FACTOR
|
||||
#li BLEND_MODE_MIN_ALPHA
|
||||
#li BLEND_MODE_MAX_ALPHA
|
||||
#/list
|
||||
|
||||
#ref SetSpriteCanvasBlendMode SetBlendMode
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
#title GetSpriteCanvasPhysics [RCBasic Doc]
|
||||
#header function GetSpriteCanvasPhysics( c_num )
|
||||
|
||||
Returns the physics stage of a sprite canvas
|
||||
|
||||
Return values can be true or false
|
||||
|
||||
#ref SetCanvasPhysics2D
|
||||
|
||||
@@ -1,4 +1,29 @@
|
||||
#title GetSpriteCanvasRenderPriority [RCBasic Doc]
|
||||
#header sub GetSpriteCanvasRenderPriority( c_num, ByRef priority, ByRef order )
|
||||
|
||||
Gets the order sprites are rendered on a sprite 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 SetSpriteCanvasRenderPriority
|
||||
|
||||
7
doc/files/makeplanartexturemap.txt
Normal file
7
doc/files/makeplanartexturemap.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#title MakePlanarTextureMap [RCBasic Doc]
|
||||
#header Sub MakePlanarTextureMap( mesh, resolution )
|
||||
|
||||
Makes a planar texture map for the mesh.
|
||||
|
||||
Resolution is a ratio of the world space to texture space
|
||||
NOTE: Value should be between 0 and 1, a recommended value to start with is 0.001
|
||||
4
doc/files/recalculatemeshnormals.txt
Normal file
4
doc/files/recalculatemeshnormals.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
#title ReCalculateMeshNormals [RCBasic Doc]
|
||||
#header Sub ReCalculateMeshNormals( mesh )
|
||||
|
||||
Calculates the facing direction of the normals in a mesh
|
||||
@@ -1,4 +1,17 @@
|
||||
#title SetAntiAliasMode [RCBasic Doc]
|
||||
#header sub SetAntiAliasMode( aa_mode )
|
||||
|
||||
Sets the anti-alias mode for draw image commands
|
||||
|
||||
Possible modes
|
||||
#list
|
||||
#li AA_MODE_OFF
|
||||
#li AA_MODE_SIMPLE
|
||||
#li AA_MODE_QUALITY
|
||||
#li AA_MODE_LINE_SMOOTH
|
||||
#li AA_MODE_POINT_SMOOTH
|
||||
#li AA_MODE_FULL_BASIC
|
||||
#li AA_MODE_ALPHA_TO_COVERAGE
|
||||
#/list
|
||||
|
||||
#ref GetAntiAliasMode
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
#title SetSpriteCanvasAntiAliasMode [RCBasic Doc]
|
||||
#header sub SetSpriteCanvasAntiAliasMode( c_num, aa_mode )
|
||||
|
||||
Sets the anti-alias mode for a sprite canvas
|
||||
|
||||
Possible modes
|
||||
#list
|
||||
#li AA_MODE_OFF
|
||||
#li AA_MODE_SIMPLE
|
||||
#li AA_MODE_QUALITY
|
||||
#li AA_MODE_LINE_SMOOTH
|
||||
#li AA_MODE_POINT_SMOOTH
|
||||
#li AA_MODE_FULL_BASIC
|
||||
#li AA_MODE_ALPHA_TO_COVERAGE
|
||||
#/list
|
||||
|
||||
#ref GetSpriteCanvasAntiAliasMode
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#title SetSpriteCanvasBilinearFilter [RCBasic Doc]
|
||||
#header sub SetSpriteCanvasBilinearFilter( c_num, flag )
|
||||
|
||||
Enables or disables bi-linear filter for the sprite canvas
|
||||
|
||||
#ref GetSpriteCanvasBilinearFilter
|
||||
|
||||
@@ -1,4 +1,22 @@
|
||||
#title SetSpriteCanvasBlendMode [RCBasic Doc]
|
||||
#header sub SetSpriteCanvasBlendMode( c_num, blend_mode )
|
||||
|
||||
Sets the blend mode used to render sprites on the given sprite canvas
|
||||
|
||||
|
||||
Possible Blend Modes
|
||||
#list ul
|
||||
#li BLEND_MODE_NONE
|
||||
#li BLEND_MODE_ADD
|
||||
#li BLEND_MODE_SUBTRACT
|
||||
#li BLEND_MODE_REVSUBTRACT
|
||||
#li BLEND_MODE_MIN
|
||||
#li BLEND_MODE_MAX
|
||||
#li BLEND_MODE_MIN_FACTOR
|
||||
#li BLEND_MODE_MAX_FACTOR
|
||||
#li BLEND_MODE_MIN_ALPHA
|
||||
#li BLEND_MODE_MAX_ALPHA
|
||||
#/list
|
||||
|
||||
|
||||
#ref SetCanvasBlendMode GetSpriteCanvasBlendMode
|
||||
|
||||
@@ -1,4 +1,31 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user