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