Version: 2020.2
言語: 日本語
public Rect TexturePropertyTwoLines (GUIContent label, MaterialProperty textureProp, MaterialProperty extraProperty1, GUIContent label2, MaterialProperty extraProperty2);

パラメーター

label プロパティーのラベル
textureProp テクスチャプロパティー
extraProperty1 テクスチャプロパティーの後のインラインされる最初の追加プロパティー
label2 2 番目の追加プロパティーのラベル(新しい行、インデントされます)
extraProperty2 テクスチャの下の新しい行の 2 番目のプロパティー

戻り値

Rect 使用される Rect を返します。

説明

プロパティーのコンパクトなレイアウトを表示するためのメソッド

The texture is shown using the mini thumbnail that fits on a single line. The first extra property is shown inlined after the texture property and the second extra property is shown below on a new line with it's own label. See Also: TexturePropertySingleLine, ShaderGUI.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961