C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

GeometryObject::SetGeometryFlags

Defined in:  C4GeometryObjects.h
Sets the geometry flags.
Prototype

void SetGeometryFlags(unsigned_int32 flags);

Parameters
flags The new geometry flags.
Description
The SetGeometryFlags function sets the geometry flags. The flags parameter may be any combination of the following bit flags.
kGeometryInvisible Geometry is invisible (but can still participate in collision detection).
kGeometryAmbientOnly Geometry is rendered only in ambient light.
kGeometryRenderShadowMap Geometry participates in shadow map generation.
kGeometryCubeLightInhibit Render with point light shaders when illuminated by a cube light.
kGeometryShadowInhibit Geometry does not cast stencil shadows.
kGeometryMarkingInhibit Surface markings are not be applied to the geometry.
kGeometryFogInhibit Fog is not applied to the geometry.
kGeometryShaderDetailEnable Multiple shader detail levels are enabled.
kGeometryDynamic Shadow volumes should not be cached because this geometry is dynamic.
kGeometryMotionBlurInhibit Geometry does not get rendered with motion blur.
kGeometryRemotePortal Geometry covers a remote portal and should be rendered first when visible.
kGeometryRenderEffectPass Geometry is rendered after lighting in the effect pass.
kGeometryRenderDecal Geometry is rendered with depth offset for decaling.
kGeometryConvexHull The geometry's convex hull is used for collision detection.
By default, none of the geometry flags are set.
See Also

GeometryObject::GetGeometryFlags