Difference between revisions of "LSL Constants/llRezObjectWithParams/ja"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "==Parameters== {| class="sortable" {{Prettytable}} |-{{Hl2}} !parameter !integer value !values to set !description |- | REZ_PARAM | 0 | integer param | Start parameter passed...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Parameters==
==パラメータ==
{| class="sortable" {{Prettytable}}
{| class="sortable" {{Prettytable}}
|-{{Hl2}}
|-{{Hl2}}
!parameter
!パラメータ
!integer value
!整数の値
!values to set
!設定する値
!description
!説明
|-
|-
| REZ_PARAM
| REZ_PARAM
| 0
| 0
| integer param
| integer param
| Start parameter passed into the rezzed object's [[on_rez]](integer) event.
| リージョンにリザされるオブジェクトの[[on_rez]](integer) イベントに渡されるスタート パラメータ。
|-
|-
| REZ_FLAGS
| REZ_FLAGS
| 1
| 1
| integer flags
| integer flags
| Flags applied to rezzed object when it is created in the world.
| オブジェクトがワールドに作成されるときに適用されるフラグ。
{{:LSL Constants/llRezObjectWithParams_Flags}}
{{:LSL Constants/llRezObjectWithParams_Flags/ja}}
|-  
|-  
| REZ_POS
| REZ_POS
| 2
| 2
| vector pos, integer relative, integer at_root
| vector pos, integer relative, integer at_root
| Position to rez the new object in the world. If relative is FALSE the position is in region coordinates. If relative is TRUE, the position will be relative to the rezzing object.
| 新しいオブジェクトをワールドにリザする位置。relative が FALSE の場合、位置はリージョン座標です。relative が TRUE の場合、位置はリジング オブジェクトに対して相対的になります。
If at_root is FALSE, the [[llGetGeometricCenter|center]] of the object will be at the position specified by pos([[llRezObject]]). Set at_root to TRUE to set the position of the root prim([[llRezAtRoot]]).
at_root FALSE の場合、オブジェクトの[[llGetGeometricCenter|center]]pos で指定された位置になります([[llRezObject]])。at_root を TRUE に設定してルート プリムの位置を設定します([[llRezAtRoot]]).
|-
|-
| REZ_ROT
| REZ_ROT
| 3
| 3
| rotation rot, integer relative
| rotation rot, integer relative
| The initial rotation to apply to the object. If relative is TRUE, the rotation is relative to the rezzing object, otherwise it is absolute.
| オブジェクトに適用する初期回転。relative が TRUE の場合、回転はリジング オブジェクトに対して相対的であり、それ以外の場合は絶対的です。
|-
|-
| REZ_VEL
| REZ_VEL
| 4
| 4
| vector velocity, integer local, integer inherit
| vector velocity, integer local, integer inherit
| The initial velocity to apply to the object. If local is TRUE the velocity is in the local object coordinate frame, otherwise it is in world coordinates.
| オブジェクトに適用する初期速度。local が TRUE の場合、速度はローカル オブジェクト座標フレーム内で、それ以外の場合はワールド座標内です。
If inherit is TRUE the object also inherits it's rezzer's velocity.
inherit TRUE の場合、オブジェクトはリザーの速度も引き継ぎます。
|-
|-
| REZ_ACCEL
| REZ_ACCEL
| 5
| 5
| vector force, integer local
| vector force, integer local
| A constant force to apply to the object. If local is TRUE, the force vector is in local coordinates.
| オブジェクトに適用する一定の力。local が TRUE の場合、力ベクトルはローカル座標で指定されます。
|-
|-
| REZ_OMEGA
| REZ_OMEGA
| 7
| 7
| vector axis, integer local, float spin, float gain
| vector axis, integer local, float spin, float gain
| Spin the object around the specified axis. If local is TRUE that axis is in local coordinates, otherwise they are global.
| 指定された軸を中心にオブジェクトを回転させます。local が TRUE の場合、その軸はローカル座標であり、それ以外の場合はグローバルです。
|-
|-
| REZ_DAMAGE
| REZ_DAMAGE
| 8
| 8
| float damage
| float damage
| The amount of damage applied to an agent upon collision with this object.
| このオブジェクトとの衝突時にエージェントに適用されるダメージ量。
|-
|-
| REZ_SOUND
| REZ_SOUND
| 9
| 9
| string sound, float volume, integer loop
| string sound, float volume, integer loop
| A sound to attach to this object. It will be played at the specified volume.
| このオブジェクトにアタッチするサウンド。指定された音量で再生されます。
If loop is TRUE the sound will loop continuously for the life of the object.
loop TRUE の場合、オブジェクトの寿命中、サウンドは連続的にループします。
The sound parameter may be either a sound file in the rezzer's inventory or the UUID of a sound asset.
sound パラメータは、リザーのインベントリ内のサウンド ファイルまたはサウンド アセットのUUIDのいずれかです。
|-
|-
| REZ_SOUND_COLLIDE
| REZ_SOUND_COLLIDE
| 10
| 10
| string sound, float volume
| string sound, float volume
| A sound to play upon collision with another object, the ground or an avatar.
| 他のオブジェクト、地面、またはアバターとの衝突時に再生されるサウンド。
The sound parameter may be either a sound file in the rezzer's inventory or the UUID of a sound asset.
sound パラメータは、リザーのインベントリ内のサウンド ファイルまたはサウンド アセットのUUIDのいずれかです。
|-
|-
| REZ_LOCK_AXES
| REZ_LOCK_AXES
| 11
| 11
| vector locks
| vector locks
| Prevent the object from spinning on certain axes. Setting the vector's coordinate to non-zero will prevent the object from spinning on that axis.
| オブジェクトが特定の軸で回転しないようにします。ベクトルの座標をゼロ以外に設定すると、その軸でオブジェクトが回転しなくなります。




For instance <pre>REZ_LOCK_AXES, <1.0, 1.0, 0.0></pre> will allow the object to only rotate around its Z-axis.
たとえば<pre>REZ_LOCK_AXES、<1.0、1.0、0.0></pre>は、オブジェクトがZ軸の周りだけで回転できるようにします。
|}
|}

Latest revision as of 16:42, 22 November 2023

パラメータ

パラメータ 整数の値 設定する値 説明
REZ_PARAM 0 integer param リージョンにリザされるオブジェクトのon_rez(integer) イベントに渡されるスタート パラメータ。
REZ_FLAGS 1 integer flags オブジェクトがワールドに作成されるときに適用されるフラグ。

フラグ

パラメータ 整数の値 説明
REZ_FLAG_TEMP 0x0001 オブジェクトは一時的にリザされます。
REZ_FLAG_PHYSICAL 0x0002 オブジェクトは物理的にリザされます。
REZ_FLAG_PHANTOM 0x0004 オブジェクトはファントムとしてリザされます。
REZ_FLAG_DIE_ON_COLLIDE 0x0008 オブジェクトは最初の衝突後に消滅します。
REZ_FLAG_DIE_ON_NOENTRY 0x0010 オブジェクトは進入できないパーセルに進入しようとした場合に消滅します。
REZ_FLAG_NO_COLLIDE_OWNER 0x0020 オブジェクトは所有者と衝突しても衝突イベントをトリガーしません。
REZ_FLAG_NO_COLLIDE_FAMILY 0x0040 オブジェクトは同じリザーによってリザされた他のオブジェクトと衝突しても衝突イベントをトリガーしません。
REZ_FLAG_BLOCK_GRAB_OBJECT 0x0080 このオブジェクトのつかみ取りが無効になっています。

† 衝突の無効化は衝突イベントとダメージのみを無効にします。オブジェクトは依然として物理的な衝突を引き起こし、他のオブジェクトを押し動かす可能性があります。

REZ_POS 2 vector pos, integer relative, integer at_root 新しいオブジェクトをワールドにリザする位置。relative が FALSE の場合、位置はリージョン座標です。relative が TRUE の場合、位置はリジング オブジェクトに対して相対的になります。

at_root が FALSE の場合、オブジェクトのcenterは pos で指定された位置になります(llRezObject)。at_root を TRUE に設定してルート プリムの位置を設定します(llRezAtRoot).

REZ_ROT 3 rotation rot, integer relative オブジェクトに適用する初期回転。relative が TRUE の場合、回転はリジング オブジェクトに対して相対的であり、それ以外の場合は絶対的です。
REZ_VEL 4 vector velocity, integer local, integer inherit オブジェクトに適用する初期速度。local が TRUE の場合、速度はローカル オブジェクト座標フレーム内で、それ以外の場合はワールド座標内です。

inherit が TRUE の場合、オブジェクトはリザーの速度も引き継ぎます。

REZ_ACCEL 5 vector force, integer local オブジェクトに適用する一定の力。local が TRUE の場合、力ベクトルはローカル座標で指定されます。
REZ_OMEGA 7 vector axis, integer local, float spin, float gain 指定された軸を中心にオブジェクトを回転させます。local が TRUE の場合、その軸はローカル座標であり、それ以外の場合はグローバルです。
REZ_DAMAGE 8 float damage このオブジェクトとの衝突時にエージェントに適用されるダメージ量。
REZ_SOUND 9 string sound, float volume, integer loop このオブジェクトにアタッチするサウンド。指定された音量で再生されます。

loop が TRUE の場合、オブジェクトの寿命中、サウンドは連続的にループします。 sound パラメータは、リザーのインベントリ内のサウンド ファイルまたはサウンド アセットのUUIDのいずれかです。

REZ_SOUND_COLLIDE 10 string sound, float volume 他のオブジェクト、地面、またはアバターとの衝突時に再生されるサウンド。

sound パラメータは、リザーのインベントリ内のサウンド ファイルまたはサウンド アセットのUUIDのいずれかです。

REZ_LOCK_AXES 11 vector locks オブジェクトが特定の軸で回転しないようにします。ベクトルの座標をゼロ以外に設定すると、その軸でオブジェクトが回転しなくなります。


たとえば
REZ_LOCK_AXES、<1.0、1.0、0.0>
は、オブジェクトがZ軸の周りだけで回転できるようにします。