Bläddra i källkod

Add sizeAttentuation to SpriteMaterial typing.

Dan Cervelli 6 år sedan
förälder
incheckning
1a6337b260
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      src/materials/SpriteMaterial.d.ts

+ 2 - 0
src/materials/SpriteMaterial.d.ts

@@ -6,6 +6,7 @@ export interface SpriteMaterialParameters extends MaterialParameters {
 	color?: Color | string | number;
 	map?: Texture;
 	rotation?: number;
+	sizeAttenuation?: boolean;
 }
 
 export class SpriteMaterial extends Material {
@@ -15,6 +16,7 @@ export class SpriteMaterial extends Material {
 	color: Color;
 	map: Texture | null;
 	rotation: number;
+	sizeAttenuation: boolean;
 	isSpriteMaterial: true;
 
 	setValues( parameters: SpriteMaterialParameters ): void;