@setsphere_distextend is a parameter of @setsphere. It is stored as an ordinary restriction of the issuing object and only takes effect while that object (or, for mode 0, any object) also holds @setsphere=n.

Syntax

@setsphere_distextend:<flags>=<n|force>
@setsphere_distextend:<flags>=y

Parameters

flags
Integer bit field: 1 = apply valuemax beyond distmax, 2 = apply valuemin inside distmin, 3 = both, 0 = neither (only the ring between distmin and distmax is affected). Default 1.

Specification

When several objects set it for the same mode, the numerically lowest value wins (the code comment says "highest", but the comparison keeps the lower one).

=force is treated exactly like =n, for RLVa compatibility. =y removes the restriction only if the option matches exactly. @setsphere=y from the same object removes all of its setsphere_* parameters.

Caveats

Examples

llOwnerSay("@setsphere_distextend:3=n");

See also

Implementation notes

Read in RRInterface::updateSetsphere() (RRInterface.cpp:6773-6777) and passed to the RLVa-derived RlvSphereEffect (rlveffects.cpp, Kitty Barnett, LGPL) and the shader rlvF.glsl. The =force → add() mapping is at RRInterface.cpp:2377-2379.

Client differences

Not implemented in CoolVL 2.09.29.30, which has no @setsphere support.

Comparison with RLVa

This command works differently from RLVa's @setsphere_distextend; see the comparison.