Difference between revisions of "PRIM POS LOCAL/ja"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "<onlyinclude>{{#if: {{#vardefine:pos_local_const|{{LSL Const|PRIM_POS_LOCAL|integer|33|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's local position}}}} {{#vardefine:p_p...")
 
m
Line 1: Line 1:
<onlyinclude>{{#if:
<onlyinclude>{{#if:


{{#vardefine:pos_local_const|{{LSL Const|PRIM_POS_LOCAL|integer|33|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's local position}}}}
{{#vardefine:pos_local_const|{{LSL Const|PRIM_POS_LOCAL/ja|integer|33|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's local position}}}}


{{#vardefine:p_pos_desc|position in [[Viewer_coordinate_frames#local|local]] coordinates.}}
{{#vardefine:p_pos_desc|position in [[Viewer_coordinate_frames#local|local]] coordinates.}}
Line 18: Line 18:
}}
}}
{{LSL Constant
{{LSL Constant
|inject-2={{LSL PrimitiveParam Categorize|Prim}}
|inject-2={{LSL PrimitiveParam Categorize|Prim/ja}}
|name=PRIM_POS_LOCAL
|name=PRIM_POS_LOCAL
|type=integer
|type=integer

Revision as of 23:44, 7 October 2023

Description

Constant: integer PRIM_POS_LOCAL = 33;

The integer constant PRIM_POS_LOCAL has the value 33

PRIM_POS_LOCAL is used to get or set the prim's local position.

llSetPrimitiveParams

llSetPrimitiveParams([ PRIM_POS_LOCAL/ja, vector position ]);
• vector position position in local coordinates.

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_POS_LOCAL/ja ]);

Returns the list [ vector position ]

• vector position position in local coordinates.

Caveats


Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_POS_LOCAL = 33;