リファレンス URL:view_enabled

「ブーリアン (Boolean) 」として値取得/設定。

This variable controls whether any views that are visible within the room are enabled or not. If you have views visible and then disable this option, the whole room will be drawn to the screen scaled to the window size.

スクリプトから設定する方法が分からなくて探すのに時間がかかった。

ルームエディターの Views から設定する場合は以下チェックボックスに相当。

GM_Studio_14_room_properties_views_settings_enable_the_use_of_views_check_button

ブーリアンだが関数的な役割もある。true の場合は View の描画をオンに、false の場合はオフに。

オフの場合は Views へ加えられたあらゆる変更が描画結果には反映されない。

スクリプト・サンプル
if !view_enabled { view_visible[0] = true; view_enabled = true; };
Variables (Global) /view_enabled

Leave a Reply

Your email address will not be published. Required fields are marked *

WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.