Template:LSL Constants/PrimitiveParams/gltf caveats

From Second Life Wiki
< Template:LSL Constants/PrimitiveParams
Revision as of 15:56, 28 August 2023 by Cosmic Linden (talk | contribs) (Created page with "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 rea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.
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.