Prims (database table)
From OpenSimulator
m (Prims moved to Prims (database table): Disambiguating) |
|||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | {{ | + | {{Quicklinks}} |
<br /> | <br /> | ||
− | |||
− | |||
'''Prims''' ''Describes all rezzed prim attributes except shape and content '' (back to [[Database Documentation]]) | '''Prims''' ''Describes all rezzed prim attributes except shape and content '' (back to [[Database Documentation]]) | ||
− | <br><br> | + | <br /><br /> |
− | The current structure of the Prims table is as follows:<br> | + | The current structure of the Prims table is as follows:<br /> |
− | + | {| style="border:1px solid #ccc;" | |
− | + | |- style="background:#cce;" | |
− | + | ! Field | |
− | + | ! Type | |
− | + | ! Null | |
− | + | ! Key | |
− | + | ! Default | |
− | + | ! Extra | |
− | + | |- | |
− | + | | CreationDate || int(11) || YES || || NULL || | |
− | + | |- style="background:#eee;" | |
− | + | | Name || varchar(255) || YES || || NULL || | |
− | + | |- | |
− | + | | Text || varchar(255) || YES || || NULL || | |
− | + | |- style="background:#eee;" | |
− | + | | Description || varchar(255) || YES || || NULL || | |
− | + | |- | |
− | + | | SitName || varchar(255) || YES || || NULL || | |
− | + | |- style="background:#eee;" | |
− | + | | TouchName || varchar(255) || YES || || NULL || | |
− | + | |- | |
− | + | | ObjectFlags || int(11) || YES || || NULL || | |
− | + | |- style="background:#eee;" | |
− | + | | OwnerMask || int(11) || YES || || NULL || | |
− | + | |- | |
− | + | | NextOwnerMask || int(11) || YES || || NULL || | |
− | + | |- style="background:#eee;" | |
− | + | | GroupMask || int(11) || YES || || NULL || | |
− | + | |- | |
− | + | | EveryoneMask || int(11) || YES || || NULL || | |
− | + | |- style="background:#eee;" | |
− | + | | BaseMask || int(11) || YES || || NULL || | |
− | + | |- | |
− | + | | PositionX || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | PositionY || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | PositionZ || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | GroupPositionX || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | GroupPositionY || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | GroupPositionZ || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | VelocityX || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | VelocityY || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | VelocityZ || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | AngularVelocityX || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | AngularVelocityY || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | AngularVelocityZ || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | AccelerationX || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | AccelerationY || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | AccelerationZ || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | RotationX || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | RotationY || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | RotationZ || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | RotationW || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | SitTargetOffsetX || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | SitTargetOffsetY || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | + | | SitTargetOffsetZ || float || YES || || 0.0 || | |
− | + | |- | |
− | + | | SitTargetOrientW || float || YES || || 0.0 || | |
− | + | |- style="background:#eee;" | |
− | <br> | + | | SitTargetOrientX || float || YES || || 0.0 || |
− | (back to [[Database Documentation]])<br> | + | |- |
− | + | | SitTargetOrientY || float || YES || || 0.0 || | |
− | <br> | + | |- style="background:#eee;" |
+ | | SitTargetOrientZ || float || YES || || 0.0 || | ||
+ | |- | ||
+ | | UUID || char(36) || NO || PRI || || | ||
+ | |- style="background:#eee;" | ||
+ | | RegionUUID || char(36) || YES || MUL || NULL || | ||
+ | |- | ||
+ | | CreatorID || varchar(255) || NO || || || | ||
+ | |- style="background:#eee;" | ||
+ | | OwnerID || char(36) || YES || || NULL || | ||
+ | |- | ||
+ | | GroupID || char(36) || YES || || NULL || | ||
+ | |- style="background:#eee;" | ||
+ | | LastOwnerID || char(36) || YES || || NULL || | ||
+ | |- | ||
+ | | SceneGroupID || char(36) || YES || MUL || NULL || | ||
+ | |- style="background:#eee;" | ||
+ | | PayPrice || int(11) || NO || || 0 || | ||
+ | |- | ||
+ | | PayButton1 || int(11) || NO || || 0 || | ||
+ | |- style="background:#eee;" | ||
+ | | PayButton2 || int(11) || NO || || 0 || | ||
+ | |- | ||
+ | | PayButton3 || int(11) || NO || || 0 || | ||
+ | |- style="background:#eee;" | ||
+ | | PayButton4 || int(11) || NO || || 0 || | ||
+ | |- | ||
+ | | LoopedSound || char(36) || NO || || 00000000-0000-0000-0000-000000000000 || | ||
+ | |- style="background:#eee;" | ||
+ | | LoopedSoundGain || float || NO || || 0.0 || | ||
+ | |- | ||
+ | | TextureAnimation || blob || YES || || NULL || | ||
+ | |- style="background:#eee;" | ||
+ | | OmegaX || float || NO || || 0.0 || | ||
+ | |- | ||
+ | | OmegaY || float || NO || || 0.0 || | ||
+ | |- style="background:#eee;" | ||
+ | | OmegaZ || float || NO || || 0.0 || | ||
+ | |- | ||
+ | | CameraEyeOffsetX || float || NO || || 0.0 || | ||
+ | |- style="background:#eee;" | ||
+ | | CameraEyeOffsetY || float || NO || || 0.0 || | ||
+ | |- | ||
+ | | CameraEyeOffsetZ || float || NO || || 0.0 || | ||
+ | |- style="background:#eee;" | ||
+ | | CameraAtOffsetX || float || NO || || 0.0 || | ||
+ | |- | ||
+ | | CameraAtOffsetY || float || NO || || 0.0 || | ||
+ | |- style="background:#eee;" | ||
+ | | CameraAtOffsetZ || float || NO || || 0.0 || | ||
+ | |- | ||
+ | | ForceMouselook || tinyint(4) || NO || || 0 || | ||
+ | |- style="background:#eee;" | ||
+ | | ScriptAccessPin || int(11) || NO || || 0 || | ||
+ | |- | ||
+ | | AllowedDrop || tinyint(4) || NO || || 0 || | ||
+ | |- style="background:#eee;" | ||
+ | | DieAtEdge || tinyint(4) || NO || || 0 || | ||
+ | |- | ||
+ | | SalePrice || int(11) || NO || || 10 || | ||
+ | |- style="background:#eee;" | ||
+ | | SaleType || tinyint(4) || NO || || 0 || | ||
+ | |- | ||
+ | | ColorR || int(11) || NO || || 0 || | ||
+ | |- style="background:#eee;" | ||
+ | | ColorG || int(11) || NO || || 0 || | ||
+ | |- | ||
+ | | ColorB || int(11) || NO || || 0 || | ||
+ | |- style="background:#eee;" | ||
+ | | ColorA || int(11) || NO || || 0 || | ||
+ | |- | ||
+ | | ParticleSystem || blob || YES || || NULL || | ||
+ | |- style="background:#eee;" | ||
+ | | ClickAction || tinyint(4) || NO || || 0 || | ||
+ | |- | ||
+ | | Material || tinyint(4) || NO || || 3 || | ||
+ | |- style="background:#eee;" | ||
+ | | CollisionSound || char(36) || NO || || 00000000-0000-0000-0000-000000000000 || | ||
+ | |- | ||
+ | | CollisionSoundVolume || float || NO || || 0.0 || | ||
+ | |- style="background:#eee;" | ||
+ | | LinkNumber || int(11) || NO || || 0 || | ||
+ | |- | ||
+ | | PassTouches || tinyint(4) || NO || || 0 || | ||
+ | |- style="background:#eee;" | ||
+ | | MediaURL || varchar(255) || YES || || NULL || | ||
+ | |- | ||
+ | | DynAttrs || text || YES || || NULL || | ||
+ | |- style="background:#eee;" | ||
+ | | PhysicsShapeType || tinyint(4) || NO || || 0 || | ||
+ | |- | ||
+ | | Density || float || NO || || 1000.0 || | ||
+ | |- style="background:#eee;" | ||
+ | | GravityModifier || float || NO || || 1.0 || | ||
+ | |- | ||
+ | | Friction || float || NO || || 0.6 || | ||
+ | |- style="background:#eee;" | ||
+ | | Restitution || float || NO || || 0.5 || | ||
+ | |- | ||
+ | | KeyframeMotion || blob || YES || || NULL || | ||
+ | |}<br /> | ||
+ | (back to [[Database Documentation]])<br /> | ||
+ | ---- | ||
+ | <br /> | ||
'''CreationDate''' | '''CreationDate''' | ||
− | <br> | + | <br /> |
The date in standard UNIX format that the Prim was created. | The date in standard UNIX format that the Prim was created. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''Name''' | |
− | <br> | + | <br /> |
The Name of the Prim. | The Name of the Prim. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''Text''' | |
− | <br> | + | <br /> |
| | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''Description''' | |
− | <br> | + | <br /> |
What the Prim is. | What the Prim is. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''SitName''' | |
− | <br> | + | <br /> |
A name given to the Sit event. | A name given to the Sit event. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''TouchName''' | |
− | <br> | + | <br /> |
A name given to the Touch action. | A name given to the Touch action. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''SitName''' | |
− | <br> | + | <br /> |
A name given to the Sit event. | A name given to the Sit event. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''ObjectFlags''' | |
− | <br> | + | <br /> |
− | ObjectFlags are defined here: [[ | + | ObjectFlags are defined here: [[OpenSimulator:Permissions#ObjectFlags_.28F.29]] |
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''OwnerMask''' | |
− | <br> | + | <br /> |
− | The permissions of the current owner. Further details are available here: [[ | + | The permissions of the current owner. Further details are available here: [[OpenSimulator:Permissions#OwnerMask_.28O.29]] |
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''NextOwnerMasks''' | |
− | <br> | + | <br /> |
− | The permissions to be passed to the next owner. Further details are available here: [[ | + | The permissions to be passed to the next owner. Further details are available here: [[OpenSimulator:Permissions#NextOwnerMask_.28N.29]] |
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''GroupMask''' | |
− | <br> | + | <br /> |
− | GroupMask is not yet implemented. However further details are available here: [[ | + | GroupMask is not yet implemented. However further details are available here: [[OpenSimulator:Permissions#GroupMask_.28G.29]] |
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''EveryoneMask''' | |
− | <br> | + | <br /> |
− | The permissions given to other users. Further details are available here: [[ | + | The permissions given to other users. Further details are available here: [[OpenSimulator:Permissions#EveryoneMask_.28E.29]] |
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''BaseMask''' | |
− | <br> | + | <br /> |
− | The initial permissions given to the current owner. Further details are available here: [[ | + | The initial permissions given to the current owner. Further details are available here: [[OpenSimulator:Permissions#BaseMask_.28B.29]] |
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''PositionX''' | |
− | <br> | + | <br /> |
The distance in metres of this prim from GroupPositionX. | The distance in metres of this prim from GroupPositionX. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''PositionY''' | |
− | <br> | + | <br /> |
The distance in metres of this prim from GroupPositionY. | The distance in metres of this prim from GroupPositionY. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''PositionZ''' | |
− | <br> | + | <br /> |
The distance in metres of this prim from GroupPositionZ. | The distance in metres of this prim from GroupPositionZ. | ||
− | <br> | + | <br /> |
− | + | '''GroupPositionX''' | |
− | <br> | + | <br /> |
The X-axis location of the centre of the primary prim in the linked set to which this Prim belongs. Measured in metres relative to the origin of the region. | The X-axis location of the centre of the primary prim in the linked set to which this Prim belongs. Measured in metres relative to the origin of the region. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''GroupPositionY''' | |
− | <br> | + | <br /> |
The Y-axis location of the centre of the primary prim in the linked set to which this Prim belongs. Measured in metres relative to the origin of the region. | The Y-axis location of the centre of the primary prim in the linked set to which this Prim belongs. Measured in metres relative to the origin of the region. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''GroupPositionZ''' | |
− | <br> | + | <br /> |
The Z-axis (height) location of the centre of the primary prim in the linked set to which this Prim belongs. Measured in metres. | The Z-axis (height) location of the centre of the primary prim in the linked set to which this Prim belongs. Measured in metres. | ||
− | <br> | + | <br /> |
− | + | '''VelocityX''' | |
− | <br> | + | <br /> |
The speed at which the prim moves (+ or -) in the X-axis. | The speed at which the prim moves (+ or -) in the X-axis. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''VelocityY''' | |
− | <br> | + | <br /> |
The speed at which the prim moves (+ or -) in the Y-axis. | The speed at which the prim moves (+ or -) in the Y-axis. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''VelocityZ''' | |
− | <br> | + | <br /> |
The speed at which the prim moves (+ or -) vertically. | The speed at which the prim moves (+ or -) vertically. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''AngularVelocityX''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''AngularVelocityY''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''AngularVelocityZ''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''AccelerationX''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''AccelerationY''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''AccelerationZ''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''RotationX''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''RotationY''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''RotationZ''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''RotationW''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''SitTargetOffsetX''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''SitTargetOffsetY''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''SitTargetOffsetZ''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | < | + | '''SitTargetOrientW''' |
− | <br> | + | <br /> |
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''SitTargetOrientX''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''SitTargetOrientY''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''SitTargetOrientZ''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''UUID''' | ||
+ | <br /> | ||
The unique key of this prim row on the database. | The unique key of this prim row on the database. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''RegionUUID''' | |
− | <br> | + | <br /> |
The key of the Region on the Regions table which contains this prim | The key of the Region on the Regions table which contains this prim | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''CreatorID''' | |
− | <br> | + | <br /> |
the UUID (key) of the user who created this prim. | the UUID (key) of the user who created this prim. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''OwnerID''' | |
− | <br> | + | <br /> |
the UUID (key)of the user who currently owns this prim. | the UUID (key)of the user who currently owns this prim. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''GroupID''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''LastOwnerID''' | |
− | <br> | + | <br /> |
The UUID (key) of the user who last owned this prim (i.e. who transferred it to the current OwnerID). | The UUID (key) of the user who last owned this prim (i.e. who transferred it to the current OwnerID). | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''SceneGroupID''' | |
− | <br> | + | <br /> |
− | + | All the prims in a linked object share the same SceneGroupID. | |
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''PayPrice''' | |
− | <br> | + | <br /> |
Can be either: | Can be either: | ||
-1 PAY_HIDE or -2 PAY_DEFAULT | -1 PAY_HIDE or -2 PAY_DEFAULT | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''PayButton1''' | |
− | <br> | + | <br /> |
Can be either: | Can be either: | ||
-1 PAY_HIDE or -2 PAY_DEFAULT | -1 PAY_HIDE or -2 PAY_DEFAULT | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''PayButton2''' | |
− | <br> | + | <br /> |
Can be either: | Can be either: | ||
-1 PAY_HIDE or -2 PAY_DEFAULT | -1 PAY_HIDE or -2 PAY_DEFAULT | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''PayButton3''' | |
− | <br> | + | <br /> |
Can be either: | Can be either: | ||
-1 PAY_HIDE or -2 PAY_DEFAULT | -1 PAY_HIDE or -2 PAY_DEFAULT | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''PayButton4''' | |
− | <br> | + | <br /> |
Can be either: | Can be either: | ||
-1 PAY_HIDE or -2 PAY_DEFAULT | -1 PAY_HIDE or -2 PAY_DEFAULT | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''LoopedSound''' | |
− | <br> | + | <br /> |
The UUID of an asset which defines a sound to be played from this prim. | The UUID of an asset which defines a sound to be played from this prim. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''LoopedSoundGain''' | |
− | <br> | + | <br /> |
The volume of the looped sound. | The volume of the looped sound. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''TextureAnnimation''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''OmegaX''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''OmegaY''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''OmegaZ''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''CameraEyeOffsetX''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''CameraEyeOffsetY''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''CameraEyeOffsetZ''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''CameraAtOffsetX''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''CameraAtOffsetY''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''CameraAtOffsetZ''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''ForceMouseLook''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''ScriptAccessPin''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''AllowedDrop''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''DieAtEdge''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''SalePrice''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''SaleType''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''ColorR''' | |
− | <br> | + | <br /> |
Red colour intensity value range 0-255. | Red colour intensity value range 0-255. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''ColorG''' | |
− | <br> | + | <br /> |
Green colour intensity value range 0-255. | Green colour intensity value range 0-255. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''ColorB''' | |
− | <br> | + | <br /> |
Blue colour intensity value range 0-255. | Blue colour intensity value range 0-255. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''ColorA''' | |
− | <br> | + | <br /> |
Alpha channel value. Range 0-255. | Alpha channel value. Range 0-255. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''ParticleSystem''' | |
− | <br> | + | <br /> |
A block of data defining a particle effect associated with this Prim. | A block of data defining a particle effect associated with this Prim. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''ClickAction''' | |
− | <br> | + | <br /> |
− | Action to be performed on a left-button mouse click. Possible values:<br> | + | Action to be performed on a left-button mouse click. Possible values:<br /> |
− | 0 - Touch/Grab (default)<br> | + | 0 - Touch/Grab (default)<br /> |
− | 1 - Sit on object<br> | + | 1 - Sit on object<br /> |
− | 2 - Buy object<br> | + | 2 - Buy object<br /> |
− | 3 - Pay object<br> | + | 3 - Pay object<br /> |
− | 4 - Open<br> | + | 4 - Open<br /> |
− | 5 - Play parcel media<br> | + | 5 - Play parcel media<br /> |
6 - Open parcel media | 6 - Open parcel media | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''Material''' | |
− | <br> | + | <br /> |
Affects the surface look of the prim, may be wood, metal etc. | Affects the surface look of the prim, may be wood, metal etc. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''CollisionSound''' | |
− | <br> | + | <br /> |
The UUID of the asset which describes the sound made when an object collides with this prim. | The UUID of the asset which describes the sound made when an object collides with this prim. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''CollisionSoundVolume''' | |
− | <br> | + | <br /> |
The volume of the collision sound. | The volume of the collision sound. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | + | '''LinkNumber''' | |
− | <br> | + | <br /> |
Not yet defined. | Not yet defined. | ||
− | <br> | + | <br /> |
− | <br> | + | <br /> |
− | < | + | '''PassTouches''' |
− | (back to [[Database Documentation]])<br> | + | <br /> |
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''MediaURL''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''DynAttrs''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''PhysicsShapeType''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''Density''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''GravityModifier''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''Friction''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''Restitution''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | '''KeyframeMotion''' | ||
+ | <br /> | ||
+ | Not yet defined. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | ---- | ||
+ | (back to [[Database Documentation]])<br /> | ||
+ | |||
+ | [[Category:Database]] | ||
[[Category:Database]] | [[Category:Database]] |
Latest revision as of 13:08, 14 November 2023
Languages: |
English Français |
Prims Describes all rezzed prim attributes except shape and content (back to Database Documentation)
The current structure of the Prims table is as follows:
Field | Type | Null | Key | Default | Extra |
---|---|---|---|---|---|
CreationDate | int(11) | YES | NULL | ||
Name | varchar(255) | YES | NULL | ||
Text | varchar(255) | YES | NULL | ||
Description | varchar(255) | YES | NULL | ||
SitName | varchar(255) | YES | NULL | ||
TouchName | varchar(255) | YES | NULL | ||
ObjectFlags | int(11) | YES | NULL | ||
OwnerMask | int(11) | YES | NULL | ||
NextOwnerMask | int(11) | YES | NULL | ||
GroupMask | int(11) | YES | NULL | ||
EveryoneMask | int(11) | YES | NULL | ||
BaseMask | int(11) | YES | NULL | ||
PositionX | float | YES | 0.0 | ||
PositionY | float | YES | 0.0 | ||
PositionZ | float | YES | 0.0 | ||
GroupPositionX | float | YES | 0.0 | ||
GroupPositionY | float | YES | 0.0 | ||
GroupPositionZ | float | YES | 0.0 | ||
VelocityX | float | YES | 0.0 | ||
VelocityY | float | YES | 0.0 | ||
VelocityZ | float | YES | 0.0 | ||
AngularVelocityX | float | YES | 0.0 | ||
AngularVelocityY | float | YES | 0.0 | ||
AngularVelocityZ | float | YES | 0.0 | ||
AccelerationX | float | YES | 0.0 | ||
AccelerationY | float | YES | 0.0 | ||
AccelerationZ | float | YES | 0.0 | ||
RotationX | float | YES | 0.0 | ||
RotationY | float | YES | 0.0 | ||
RotationZ | float | YES | 0.0 | ||
RotationW | float | YES | 0.0 | ||
SitTargetOffsetX | float | YES | 0.0 | ||
SitTargetOffsetY | float | YES | 0.0 | ||
SitTargetOffsetZ | float | YES | 0.0 | ||
SitTargetOrientW | float | YES | 0.0 | ||
SitTargetOrientX | float | YES | 0.0 | ||
SitTargetOrientY | float | YES | 0.0 | ||
SitTargetOrientZ | float | YES | 0.0 | ||
UUID | char(36) | NO | PRI | ||
RegionUUID | char(36) | YES | MUL | NULL | |
CreatorID | varchar(255) | NO | |||
OwnerID | char(36) | YES | NULL | ||
GroupID | char(36) | YES | NULL | ||
LastOwnerID | char(36) | YES | NULL | ||
SceneGroupID | char(36) | YES | MUL | NULL | |
PayPrice | int(11) | NO | 0 | ||
PayButton1 | int(11) | NO | 0 | ||
PayButton2 | int(11) | NO | 0 | ||
PayButton3 | int(11) | NO | 0 | ||
PayButton4 | int(11) | NO | 0 | ||
LoopedSound | char(36) | NO | 00000000-0000-0000-0000-000000000000 | ||
LoopedSoundGain | float | NO | 0.0 | ||
TextureAnimation | blob | YES | NULL | ||
OmegaX | float | NO | 0.0 | ||
OmegaY | float | NO | 0.0 | ||
OmegaZ | float | NO | 0.0 | ||
CameraEyeOffsetX | float | NO | 0.0 | ||
CameraEyeOffsetY | float | NO | 0.0 | ||
CameraEyeOffsetZ | float | NO | 0.0 | ||
CameraAtOffsetX | float | NO | 0.0 | ||
CameraAtOffsetY | float | NO | 0.0 | ||
CameraAtOffsetZ | float | NO | 0.0 | ||
ForceMouselook | tinyint(4) | NO | 0 | ||
ScriptAccessPin | int(11) | NO | 0 | ||
AllowedDrop | tinyint(4) | NO | 0 | ||
DieAtEdge | tinyint(4) | NO | 0 | ||
SalePrice | int(11) | NO | 10 | ||
SaleType | tinyint(4) | NO | 0 | ||
ColorR | int(11) | NO | 0 | ||
ColorG | int(11) | NO | 0 | ||
ColorB | int(11) | NO | 0 | ||
ColorA | int(11) | NO | 0 | ||
ParticleSystem | blob | YES | NULL | ||
ClickAction | tinyint(4) | NO | 0 | ||
Material | tinyint(4) | NO | 3 | ||
CollisionSound | char(36) | NO | 00000000-0000-0000-0000-000000000000 | ||
CollisionSoundVolume | float | NO | 0.0 | ||
LinkNumber | int(11) | NO | 0 | ||
PassTouches | tinyint(4) | NO | 0 | ||
MediaURL | varchar(255) | YES | NULL | ||
DynAttrs | text | YES | NULL | ||
PhysicsShapeType | tinyint(4) | NO | 0 | ||
Density | float | NO | 1000.0 | ||
GravityModifier | float | NO | 1.0 | ||
Friction | float | NO | 0.6 | ||
Restitution | float | NO | 0.5 | ||
KeyframeMotion | blob | YES | NULL |
(back to Database Documentation)
CreationDate
The date in standard UNIX format that the Prim was created.
Name
The Name of the Prim.
Text
Description
What the Prim is.
SitName
A name given to the Sit event.
TouchName
A name given to the Touch action.
SitName
A name given to the Sit event.
ObjectFlags
ObjectFlags are defined here: OpenSimulator:Permissions#ObjectFlags_.28F.29
OwnerMask
The permissions of the current owner. Further details are available here: OpenSimulator:Permissions#OwnerMask_.28O.29
NextOwnerMasks
The permissions to be passed to the next owner. Further details are available here: OpenSimulator:Permissions#NextOwnerMask_.28N.29
GroupMask
GroupMask is not yet implemented. However further details are available here: OpenSimulator:Permissions#GroupMask_.28G.29
EveryoneMask
The permissions given to other users. Further details are available here: OpenSimulator:Permissions#EveryoneMask_.28E.29
BaseMask
The initial permissions given to the current owner. Further details are available here: OpenSimulator:Permissions#BaseMask_.28B.29
PositionX
The distance in metres of this prim from GroupPositionX.
PositionY
The distance in metres of this prim from GroupPositionY.
PositionZ
The distance in metres of this prim from GroupPositionZ.
GroupPositionX
The X-axis location of the centre of the primary prim in the linked set to which this Prim belongs. Measured in metres relative to the origin of the region.
GroupPositionY
The Y-axis location of the centre of the primary prim in the linked set to which this Prim belongs. Measured in metres relative to the origin of the region.
GroupPositionZ
The Z-axis (height) location of the centre of the primary prim in the linked set to which this Prim belongs. Measured in metres.
VelocityX
The speed at which the prim moves (+ or -) in the X-axis.
VelocityY
The speed at which the prim moves (+ or -) in the Y-axis.
VelocityZ
The speed at which the prim moves (+ or -) vertically.
AngularVelocityX
Not yet defined.
AngularVelocityY
Not yet defined.
AngularVelocityZ
Not yet defined.
AccelerationX
Not yet defined.
AccelerationY
Not yet defined.
AccelerationZ
Not yet defined.
RotationX
Not yet defined.
RotationY
Not yet defined.
RotationZ
Not yet defined.
RotationW
Not yet defined.
SitTargetOffsetX
Not yet defined.
SitTargetOffsetY
Not yet defined.
SitTargetOffsetZ
Not yet defined.
SitTargetOrientW
Not yet defined.
SitTargetOrientX
Not yet defined.
SitTargetOrientY
Not yet defined.
SitTargetOrientZ
Not yet defined.
UUID
The unique key of this prim row on the database.
RegionUUID
The key of the Region on the Regions table which contains this prim
CreatorID
the UUID (key) of the user who created this prim.
OwnerID
the UUID (key)of the user who currently owns this prim.
GroupID
Not yet defined.
LastOwnerID
The UUID (key) of the user who last owned this prim (i.e. who transferred it to the current OwnerID).
SceneGroupID
All the prims in a linked object share the same SceneGroupID.
PayPrice
Can be either:
-1 PAY_HIDE or -2 PAY_DEFAULT
PayButton1
Can be either:
-1 PAY_HIDE or -2 PAY_DEFAULT
PayButton2
Can be either:
-1 PAY_HIDE or -2 PAY_DEFAULT
PayButton3
Can be either:
-1 PAY_HIDE or -2 PAY_DEFAULT
PayButton4
Can be either:
-1 PAY_HIDE or -2 PAY_DEFAULT
LoopedSound
The UUID of an asset which defines a sound to be played from this prim.
LoopedSoundGain
The volume of the looped sound.
TextureAnnimation
Not yet defined.
OmegaX
Not yet defined.
OmegaY
Not yet defined.
OmegaZ
Not yet defined.
CameraEyeOffsetX
Not yet defined.
CameraEyeOffsetY
Not yet defined.
CameraEyeOffsetZ
Not yet defined.
CameraAtOffsetX
Not yet defined.
CameraAtOffsetY
Not yet defined.
CameraAtOffsetZ
Not yet defined.
ForceMouseLook
Not yet defined.
ScriptAccessPin
Not yet defined.
AllowedDrop
Not yet defined.
DieAtEdge
Not yet defined.
SalePrice
Not yet defined.
SaleType
Not yet defined.
ColorR
Red colour intensity value range 0-255.
ColorG
Green colour intensity value range 0-255.
ColorB
Blue colour intensity value range 0-255.
ColorA
Alpha channel value. Range 0-255.
ParticleSystem
A block of data defining a particle effect associated with this Prim.
ClickAction
Action to be performed on a left-button mouse click. Possible values:
0 - Touch/Grab (default)
1 - Sit on object
2 - Buy object
3 - Pay object
4 - Open
5 - Play parcel media
6 - Open parcel media
Material
Affects the surface look of the prim, may be wood, metal etc.
CollisionSound
The UUID of the asset which describes the sound made when an object collides with this prim.
CollisionSoundVolume
The volume of the collision sound.
LinkNumber
Not yet defined.
PassTouches
Not yet defined.
MediaURL
Not yet defined.
DynAttrs
Not yet defined.
PhysicsShapeType
Not yet defined.
Density
Not yet defined.
GravityModifier
Not yet defined.
Friction
Not yet defined.
Restitution
Not yet defined.
KeyframeMotion
Not yet defined.
(back to Database Documentation)