path_get_point_speed()


リソース操作・パス

path_get_point_speed

パスの指定のポイントの設定速度を取得します

構文

path_get_point_speed(index, n);
index
パスのインデックス番号
n
ポイント番号

戻り値

Real.
パスのポイントの設定速度

説明

この関数は指定のパスの設定速度を取得します。 ポイントはパスエディターで設定したもの、またはpath_add_point()により追加したものとなります。 パスエディターで50と設定していれば、この関数は50を返します。

if path_get_point_speed(c_path, 0) != 100
{
  path_change_point(c_path, 0, path_get_point_x(c_path, 0), path_get_point_x(c_path, 0), 100);
}

上記コードはパス"c_path"のポイント0の速度が100でなければ、速度を100に設定します

Wiki内検索

#search(): You already view a search box

MENU

ドキュメント

GMLリファレンス

2ch

その他



最新の30件

2024-03-07 2023-08-09 2023-05-21 2023-05-20 2023-05-04 2022-10-13 2022-07-21 2022-07-02 2022-04-06 2021-11-30 2021-11-26 2021-10-03 2021-09-23 2021-08-15 2021-06-02 2021-01-23 2021-01-21 2021-01-19 2021-01-18 2021-01-16 2021-01-15

人気の10件

今日の10件



これまでの訪問者: 696
今日の訪問者: 1
昨日の訪問者: 0
閲覧者: 3