[sldev] Prim metadata formats was Re: LSL initiated Prim
metadata...
Jason Giglio
gigstaggart at gmail.com
Wed Feb 28 09:23:50 PST 2007
Argent Stonecutter wrote:
> llSetExperimentalAttribute(list attribute);
>
> Where attribute is a list of type-value pairs, describing the serialized
> format for the attribute, eg:
> [ATTR_U8,taste,ATTR_F32,angle,ATTR_F32,wobble].
>
> Or:
>
> llSetExperimentalAttribute(string format, list attribute);
>
> Where format is a string like "U8,F32,F32" that describes the format of
> the attribute.
>
> That way when the capability goes into production the prim data will be
> in the right format, and the client code will already be seeing and
> interpreting the data in Linden Labs' preferred format.
That's acceptable, I guess. LSL can't enforce type checking on those
types though, so I don't see that it gains much of anything.
-Jason
More information about the SLDev
mailing list