Difference between revisions of "Template:LSL Constants/PrimitiveParams/gltf caveats"

From Second Life Wiki
Jump to navigation Jump to search
(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...")
 
Line 2: Line 2:
<br/>
<br/>
Attempting to set this param on a face with [[llGetRenderMaterial|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 [[llGetRenderMaterial|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.
<br/>
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.
<br/>
<br/>
<strong>Caveat:</strong> 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.
<strong>Caveat:</strong> 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.

Revision as of 17:05, 28 August 2023

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.