エンジンクラス
StyleQuery
*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。
概要
方法
GetCondition(name: string):Variant |
SetCondition(name: string,value: Variant):() |
SetConditions(conditions: Dictionary):() |
APIリファレンス
プロパティ
方法
SetCondition
SetConditions
パラメータ
戻り値
()
コードサンプル
条件を設定する
local styleQuery = Instance.new("StyleQuery")
styleQuery:SetConditions({
["AspectRatioRange"] = NumberRange.new(0, 1),
["MaxSize"] = Vector2.new(200, math.huge),
})