layer_depth
説明
この関数は、指定したレイヤーのDepth(深さ)を設定します。レイヤーの指定には レイヤーID 又は レイヤー名を用います。
Depth
は値が大きいほど、カメラから見て奥に描画されます。
構文
layer_depth(layer_id, depth)
引数
layer_id | レイヤーID 又は レイヤー名 |
depth | 設定する深さ(Depth) |
戻り値
N / A
この関数は、指定したレイヤーのDepth(深さ)を設定します。レイヤーの指定には レイヤーID 又は レイヤー名を用います。
Depth
は値が大きいほど、カメラから見て奥に描画されます。
layer_depth(layer_id, depth)
layer_id | レイヤーID 又は レイヤー名 |
depth | 設定する深さ(Depth) |
N / A