5.2. S3D Object Flags

Objects can have several flags to change their behaviour in the server and can be set with s3d_flags_on() and s3d_flags_off()

S3D_OF_VISIBLE

default:off

Obviously, if this flag is toggled the user can see it, if not it will be hidden. ;)

When an object is created it's turned off, so you will be able push your geometry data and turn it on after you're done. That avaoids flickering and stuff.

S3D_OF_SELECTABLE

default:off

When this is toggled on, you will receive click events. Don't use it if you don't need it, it will eat performance.

S3D_OF_POINTABLE

default:off

Placeholder for pointer (onmouseover-event enabler) events. Not implemented yet.