Make TextGeometryParameters options optional.

This commit is contained in:
Ivo Murrell
2017-02-10 16:48:45 +00:00
parent c1196db216
commit 303462459e

16
three/index.d.ts vendored
View File

@@ -1,6 +1,6 @@
// Type definitions for three.js 0.83
// Project: http://mrdoob.github.com/three.js/
// Definitions by: Kon <http://phyzkit.net/>, Satoru Kimura <https://github.com/gyohk>, Florent Poujol <https://github.com/florentpoujol>, SereznoKot <https://github.com/SereznoKot>, HouChunlei <https://github.com/omni360>
// Definitions by: Kon <http://phyzkit.net/>, Satoru Kimura <https://github.com/gyohk>, Florent Poujol <https://github.com/florentpoujol>, SereznoKot <https://github.com/SereznoKot>, HouChunlei <https://github.com/omni360>, Ivo <https://github.com/ivoisbelongtous>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="detector.d.ts" />
@@ -6415,13 +6415,13 @@ declare namespace THREE {
}
export interface TextGeometryParameters {
font: Font;
size: number;
height: number;
curveSegments: number;
bevelEnabled: boolean;
bevelThickness: number;
bevelSize: number;
font?: Font;
size?: number;
height?: number;
curveSegments?: number;
bevelEnabled?: boolean;
bevelThickness?: number;
bevelSize?: number;
}
export class TextGeometry extends ExtrudeGeometry {