C4 Engine
C4 Engine API Documentation

GeometryObject::SetGeometryFlags

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

void SetGeometryFlags(uint32 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.
kGeometryDynamic The geometry is dynamic and could move or deform.
kGeometryInvisible The geometry is invisible (but can still participate in collision detection).
kGeometryAmbientOnly The geometry is rendered only in ambient light.
kGeometryCastShadows The geometry casts shadows.
kGeometryFogInhibit Fog is not applied to the geometry.
kGeometryMotionBlurInhibit The geometry does not get rendered with motion blur.
kGeometryRenderEffect The geometry is rendered after lighting in an effect pass.
kGeometryRenderDecal The geometry is rendered with depth offset for decaling.
kGeometryMarkingInhibit Surface markings are never applied to the geometry.
kGeometryInstancePaintSpace If the geometry is not directly connected to a paint space, then it should use the paint space connected by an instance super node.
kGeometryCollisionConvexHull The geometry's convex hull is used for collision detection.
kGeometryLandscapingOverlap The geometry does not participate in landscaping overlap detection.
kGeometryCubeLightInhibit Render with point light shaders when illuminated by a cube light.
By default, none of the geometry flags are set.
See Also

GeometryObject::GetGeometryFlags