- Preparing search index...
- The search index is not available
feng3d
Properties
__class__
__class__: "Gradient"
alphaKeys
colorKeys
mode
Methods
fromColors
- fromColors(colors, times?): Gradient
-
Parameters
-
colors: number[]
-
Optional times: number[]
getAlpha
- getAlpha(time): number
-
Returns number
getColor
- getColor(time): Color3
-
getValue
- getValue(time): Color4
-
颜色渐变