Function createFlowGradientMaterial
- createFlowGradientMaterial(app, options): CustomShaderMaterial<MaterialConstructor>
Parameters
options: {
axis?: "Z" | "X" | "Y";
boxinLocalSpace?: boolean;
circleTime?: number;
color?: ColorRepresentation;
gradient?: boolean;
heightOffset?: number;
heightScale?: number;
lightColor?: ColorRepresentation;
lightScale?: number;
max?: Vector3;
min?: Vector3;
object?: Object3D<Object3DEventMap>;
opacity?: number;
topColor?: ColorRepresentation;
topOpacity?: number;
uLightCount?: number;
} & MaterialParameters
创建一个流动的渐变材质