Function createFlowGradientMaterial

  • 创建一个流动的渐变材质

    Parameters

    • app: App
    • 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

    Returns CustomShaderMaterial<MaterialConstructor>