org.treblereel.gwt.three4g.geometries.TextBufferGeometry Maven / Gradle / Ivy
package org.treblereel.gwt.three4g.geometries;
import jsinterop.annotations.JsType;
import org.treblereel.gwt.three4g.core.BufferGeometry;
import org.treblereel.gwt.three4g.geometries.parameters.TextGeometryParameters;
/**
* A class for generating text as a single geometry. It is constructed by providing a string of text, and a hash of parameters
* consisting of a loaded Font and settings for the geometry's parent ExtrudeBufferGeometry. See the Font, FontLoader and
* Creating_Text pages for additional details.
*
* @author Dmitrii Tikhomirov
* Created by treblereel on 5/3/18.
*/
@JsType(isNative = true, namespace = "THREE")
public class TextBufferGeometry extends BufferGeometry {
public TextGeometryParameters parameters;
/**
* @param text — The text that needs to be shown.
* @param parameters — Object that can contains the following parameters.
*/
public TextBufferGeometry(String text, TextGeometryParameters parameters) {
}
}