47 lines
918 B
HTML
47 lines
918 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="style.css">
|
|
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
|
<title>Serenity3D [RCBasic Doc] </title>
|
|
</head>
|
|
|
|
<body>
|
|
<p><h2>Serenity3D Materials API </h2></p>
|
|
<p>
|
|
<br>
|
|
</p>
|
|
<p>
|
|
<b>Function Serenity_GetMaterialIndex(material_name$)</b>
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
Returns the Serenity Material Index which is used to access material data in the API
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
<br>
|
|
</p>
|
|
<p>
|
|
<b>Function Serenity_GetMaterialID(material_index)</b>
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
Returns the RCBasic material ID or -1 if material_index is not valid
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
<br>
|
|
</p>
|
|
<p>
|
|
<b>Function Serenity_GetMaterialTextureIndex(material_index, texture_level)</b>
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
Returns the Serenity Texture Index which is used to access texture data in the API
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
|
|
</body>
|
|
</html> |