Prim Serialization

From Second Life Wiki
Revision as of 00:28, 27 May 2010 by Eddy Stryker (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
&object =
{
    extra_parameters :
    [
        {
            extra_parameter: int,
            param_data: binary
        },
        ...
    ],
    facelist :
    [
        {
            bump: int,
            colors: [ real, real, real, real ],
            fullbright: int,
            glow: real,
            imageid: uuid,
            imagerot: real,
            media_flags: int,
            offsets: real,
            offsett: real,
            scales: real,
            scalet: real
        },
        ...
    ],
    group-id: uuid,
    material: int,
    name: string,
    pos: [ real, real, real ],
    rotation: [ real, real, real ],
    scale: [ real, real, real ],
    shape:
    {
        path:
        {
            begin: real,
            curve: int,
            end: real,
            radius_offset: real,
            revolutions: real,
            scale_x: real,
            scale_y: real,
            shear_x: real,
            shear_y: real,
            skew: real,
            taper_x: real,
            taper_y: real,
            twist: real,
            twist_begin: real
        },
        profile:
        {
            begin: real,
            curve: int,
            end: real,
            hollow: real
        },
        sculpt:
        {
            id: uuid,
            type: int
        }
    }
}