@setsphere_tween 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_tween:<seconds>=<n|force>
@setsphere_tween:<seconds>=y

Parameters

seconds
Float ≥ 0. 0 (the default) means changes are instant.

Specification

When several objects set it for the same mode, the lowest value wins. Setting the tween re-starts the distances, values and params from their current values over the new duration.

=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_tween:3=n,setsphere_distmax:4=n");

See also

Implementation notes

Read in RRInterface::updateSetsphere() (RRInterface.cpp:6793-6797) 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_tween; see the comparison.