表示テーマ
TextCharacterTransform
TextRendererの文字単位SRT
型の情報
- 名前空間:
NEMEngine - 型:
NEMEngine.TextCharacterTransform(Struct)
Identity
csharp
public static TextCharacterTransform Identity回転しないQuaternionです。
操作:読取専用。
componentTypeID
csharp
public static int componentTypeID組み込みComponentの接続識別子です。通常のゲームコードではGetComponentで取得します。
操作:読取専用。
rotation
csharp
public float rotation回転です。
操作:値の参照・設定。
scale
csharp
public Vector2 scale拡縮倍率です。
操作:値の参照・設定。
translation
csharp
public Vector2 translation文字単位の移動量です。
操作:値の参照・設定。
実行時の扱い
Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。