Easy Mode Generator
Custom Property Configuration概要
Easy
本機能は、CGI Studio 3.12以前は、「SceneComposerConfigurator.exe」ファイルを使用してEasy Mode設定ファイルを生成する機能として実装されていました。CGI Studio 3.13では、Scene Composerの「環境設定」から、今まで以上に簡単にEasy Modeを設定することができる機能としてアップデートされました。
対象要素
Easy Modeでプロパティのカスタマイズが可能な要素は、以下のとおりです。
Configuration file for SceneComposerビヘイビアSupportエフェクト
カスタマイズ可能な項目
カスタマイズが可能なプロパティの項目は、以下のとおりです。
Hiding properties可視性(プロパティパネルにおける表示/非表示)Initial values of properties読み取り専用Define properties as Read-Only初期値(プロパティの初期値)
The "SceneComposerConfigurator.exe" file can be used to generate an easy mode configuration file at any desired location. The name of this configuration file has to be chosen by the user.
The generator executable file has to be at the same level with SceneComposer.exe.
カスタマイズ可能なプロパティの項目は、プロパティごとに異なります。
Workflow:基本設定
Generateメニューバーのconfiguration[xmlファイルfile].\SceneComposer\SceneComposerConfigurator.exe>-generate[MyConfiguration.bin環境設定….\SceneComposer\SceneComposerConfigurator.exe]-unpack MyConfiguration.bin MyConfiguration.xmlから、環境設定ダイアログを開きます。Modify環境設定ダイアログのthe[xml環境file] > [ Easy Mode ] を選択します。Pack the xml file again and put it at a certain place.\SceneComposer\SceneComposerConfigurator.exe -pack MyConfigurationModified.xml MyConfigurationModified.bin COPY MyConfigurationModified.bin .\config_restrictedAccess\config.bin


If necesary, the user can set the right path to the easy mode configuration files viaTextNode2DのTextプロパティの初期値を "Preferences"Default panel.text" に設定した例
エクスポート/インポート
エクスポート
環境設定ダイアログで設定した各プロパティの項目の構成は、XMLファイルとしてエクスポートすることができます。環境設定ダイアログの右上の [ Export ] ボタンによりエクスポートを実行します。


インポート
環境設定ダイアログの右上の [ Import ] ボタンにより、事前にエクスポート済のXMLファイルをインポートすることができます。

初期化
環境設定ダイアログの右下の [ デフォルトに戻す ] ボタンにより、設定済の各プロパティの項目が初期化されます。
This[ isデフォルトに戻す possible] in two different ways:ボタンをクリックすると、すべての要素のすべてのプロパティの項目が初期化されます。実行時はご注意ください。
In the configuration file the user can set values that will overwrite the default value from the ApplicationConfig file when SceneComposer starts. In this way, it can be set which object properties are to be presented in SceneComposer's property grid, "Preferences", and all existing dynamic properties.
The configuration file will contain an element "Commands" containing the element "ForbidControlCreation". The element "ForbidControlCreation" can contain only values "True" or "False" were:
The configuration applies to all static object properties. The user can rule for dynamic properties like widgets, behaviours, controls. The configuration of widgets, behaviours and controls cannot be extracted/generated automatically.
The configuration values which can be set are: