Template:LSL Constants/PrimitiveParams/gltf caveats

From Second Life Wiki
Jump to navigation Jump to search

Setting any property to the empty string ("") will unset it, causing the property of the underlying GLTF material asset to be used instead. Note that it is not possible to read properties of the underlying GLTF material asset from scripts. If a property is unset, it will appear to be the default value when read from a script.
Attempting to set this param on a face with a material ID of NULL_KEY will clear most PRIM_GLTF_* properties on that face, with the exceptions of repeats, offsets, and rotation_in_radians.
Attempting to set this param on a face with a no-mod material will cause changes to be rejected, with the exceptions of repeats, offsets, and rotation_in_radians.
Caveat: This parameter will be supported in the upcoming GLTF Materials project. Currently it will only work in supported testing areas with a supported test viewer.