Skip to content
lsl.devlsl.devLSL Dev

Constants in the RayCastParam enum.

All constant groups

At a glance, from the LSL definitions
RC_DATA_FLAGS  // Flag used with llCastRay to configure returned data.RC_DETECT_PHANTOM  // Flag used with llCastRay.RC_MAX_HITS  // Flag used with llCastRay to set the maximum number of hits to return (up to 256).RC_REJECT_TYPES  // Flag used with llCastRay to define a mask for ignoring specific types of objects and avatars.

Constants

ConstantTypeValueDescription
RC_DATA_FLAGSinteger2Flag used with llCastRay to configure returned data.
RC_DETECT_PHANTOMinteger1Flag used with llCastRay. If set to TRUE (or non-zero), detects both phantom and volume-detect objects (they cannot be filtered individually). This overrides the RC_REJECT_NONPHYSICAL and RC_REJECT_PHYSICAL settings in RC_REJECT_TYPES.
RC_MAX_HITSinteger3Flag used with llCastRay to set the maximum number of hits to return (up to 256). To avoid performance issues, keep this value small.
RC_REJECT_TYPESinteger0Flag used with llCastRay to define a mask for ignoring specific types of objects and avatars.

Used by