SetActorMaterialFlag [RCBasic Doc]

Sub SetActorMaterialFlag( actor, flag, flag_value)

Sets the value of an actor's material flag.

Note: The material on this would be material 0. To set other material flag's you need to get a reference to the actor's material with GetActorMaterial().

Possible values for flag:

- MATERIAL_FLAG_WIREFRAME
- MATERIAL_FLAG_POINTCLOUD
- MATERIAL_FLAG_GOURAUD_SHADING
- MATERIAL_FLAG_LIGHTING
- MATERIAL_FLAG_ZBUFFER
- MATERIAL_FLAG_ZWRITE_ENABLE
- MATERIAL_FLAG_BACK_FACE_CULLING
- MATERIAL_FLAG_FRONT_FACE_CULLING
- MATERIAL_FLAG_BILINEAR_FILTER
- MATERIAL_FLAG_TRILINEAR_FILTER
- MATERIAL_FLAG_ANISOTROPIC_FILTER
- MATERIAL_FLAG_FOG_ENABLE
- MATERIAL_FLAG_NORMALIZE_NORMALS
- MATERIAL_FLAG_TEXTURE_WRAP
- MATERIAL_FLAG_ANTI_ALIASING
- MATERIAL_FLAG_COLOR_MASK
- MATERIAL_FLAG_COLOR_MATERIAL
- MATERIAL_FLAG_USE_MIP_MAPS
- MATERIAL_FLAG_BLEND_OPERATION
- MATERIAL_FLAG_POLYGON_OFFSET

Related: GetActorMaterialFlag GetActorMaterial