2
0
Эх сурвалжийг харах

Add sizeAttentuation to SpriteMaterial typing.

Dan Cervelli 6 жил өмнө
parent
commit
1a6337b260

+ 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;