Class SceneTwoColorLinearGradientDto (Inputs.BabylonScene)
Constructors
constructor
Parameters
OptionalcolorFrom: stringOptionalcolorTo: stringOptionaldirection: gradientDirectionEnumOptionalstopFrom: numberOptionalstopTo: number
Properties
colorFrom
colorFrom: string
colorTo
colorTo: string
direction
stopFrom
stopFrom: number
stopTo
stopTo: number
供
babylon.scene.twoColorLinearGradientBackground使用:两种颜色、渐变的方向以及每种颜色的色标位置。