Files
RCBASIC4/doc/bu/files/setmaterialflag.txt

31 lines
919 B
Plaintext
Raw Permalink 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.
#title setMaterialFlag [RCBasic Doc]
#header sub setMaterialFlag( material_id, material_flag, f_value)
Sets the value of the specified material flag
Possible values for flag:
#list
#li MATERIAL_FLAG_WIREFRAME 
#li MATERIAL_FLAG_POINTCLOUD 
#li MATERIAL_FLAG_GOURAUD_SHADING 
#li MATERIAL_FLAG_LIGHTING 
#li MATERIAL_FLAG_ZBUFFER 
#li MATERIAL_FLAG_ZWRITE_ENABLE 
#li MATERIAL_FLAG_BACK_FACE_CULLING 
#li MATERIAL_FLAG_FRONT_FACE_CULLING 
#li MATERIAL_FLAG_BILINEAR_FILTER 
#li MATERIAL_FLAG_TRILINEAR_FILTER 
#li MATERIAL_FLAG_ANISOTROPIC_FILTER 
#li MATERIAL_FLAG_FOG_ENABLE 
#li MATERIAL_FLAG_NORMALIZE_NORMALS 
#li MATERIAL_FLAG_TEXTURE_WRAP 
#li MATERIAL_FLAG_ANTI_ALIASING 
#li MATERIAL_FLAG_COLOR_MASK 
#li MATERIAL_FLAG_COLOR_MATERIAL 
#li MATERIAL_FLAG_USE_MIP_MAPS 
#li MATERIAL_FLAG_BLEND_OPERATION 
#li MATERIAL_FLAG_POLYGON_OFFSET 
#/list
#ref GetMaterialFlag GetActorMaterialFlag