Files
RCBASIC4/doc/doc_files/setmaterialflag.html
2024-10-24 23:25:02 -04:00

154 lines
2.7 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<style>
table, th, td { border: 1px solid black; } th, td { padding: 10px; }
body { background-color: #064066; color: #FFFFFF; }
a { color: #40bfb8; }
a::before {
content: "---";
font-family: monospace, monospace;
display: inline-block;
margin-right: 6px;
color: #064066;
}
.rc_number { color: #0b9898; }
.rc_string { color: #dd4040; }
.rc_keyword { color: #6084a8; font-weight: bold; }
.rc_comment { color: #6e716e; }
#rc_code { font-family: Consolas,"courier new"; background-color: #2d3335; padding: 2px; font-size: 105%; }
ul, #myUL {
list-style-type: none;
}
#myUL {
margin: 0;
padding: 0;
}
.box {
cursor: pointer;
-webkit-user-select: none; /* Safari 3.1+ */
-moz-user-select: none; /* Firefox 2+ */
-ms-user-select: none; /* IE 10+ */
user-select: none;
}
.box::before {
content: "[+]";
font-family: monospace, monospace;
font-weight: bold;
color: #40bfb8;
display: inline-block;
margin-right: 6px;
}
.box {
font-weight: bold;
color: #40bfb8;
text-decoration: underline;
}
.check-box::before {
content: "[-]";
font-family: monospace, monospace;
font-weight: bold;
//color: dodgerblue;
color: #40bfb8;
}
.nested {
display: none;
}
.active {
display: block;
}
</style>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>setMaterialFlag [RCBasic Doc] </title>
</head>
<body>
<p><h1>sub setMaterialFlag( material_id, material_flag, f_value) </h1></p>
<p>
Sets the value of the specified material flag
</p>
<p>
Possible values for flag:
</p>
<ul>
<li>
MATERIAL_FLAG_WIREFRAME 
</li>
<li>
MATERIAL_FLAG_POINTCLOUD 
</li>
<li>
MATERIAL_FLAG_GOURAUD_SHADING 
</li>
<li>
MATERIAL_FLAG_LIGHTING 
</li>
<li>
MATERIAL_FLAG_ZBUFFER 
</li>
<li>
MATERIAL_FLAG_ZWRITE_ENABLE 
</li>
<li>
MATERIAL_FLAG_BACK_FACE_CULLING 
</li>
<li>
MATERIAL_FLAG_FRONT_FACE_CULLING 
</li>
<li>
MATERIAL_FLAG_BILINEAR_FILTER 
</li>
<li>
MATERIAL_FLAG_TRILINEAR_FILTER 
</li>
<li>
MATERIAL_FLAG_ANISOTROPIC_FILTER 
</li>
<li>
MATERIAL_FLAG_FOG_ENABLE 
</li>
<li>
MATERIAL_FLAG_NORMALIZE_NORMALS 
</li>
<li>
MATERIAL_FLAG_TEXTURE_WRAP 
</li>
<li>
MATERIAL_FLAG_ANTI_ALIASING 
</li>
<li>
MATERIAL_FLAG_COLOR_MASK 
</li>
<li>
MATERIAL_FLAG_COLOR_MATERIAL 
</li>
<li>
MATERIAL_FLAG_USE_MIP_MAPS 
</li>
<li>
MATERIAL_FLAG_BLEND_OPERATION 
</li>
<li>
MATERIAL_FLAG_POLYGON_OFFSET 
</li>
</ul>
<br><p>Related:
<a href="getmaterialflag.html">GetMaterialFlag</a>
<a href="getactormaterialflag.html">GetActorMaterialFlag</a>
</p>
<p>
</body>
</html>