AlphaAlphaThe constructor to create an instance of TextGeometry.
Text to layout.
The options for the text geometry.
AlphaattributesThis hashmap has as id the name of the attribute to be set and as value the THREE.BufferAttribute | buffer to set it to. Rather than accessing this property directly, use .setAttribute and .getAttribute to access attributes of this geometry.
AlphaboundingBounding box for the THREE.BufferGeometry | BufferGeometry, which can be calculated with .computeBoundingBox().
AlphaboundingBounding sphere for the THREE.BufferGeometry | BufferGeometry, which can be calculated with .computeBoundingSphere().
AlphadrawDetermines the part of the geometry to render. This should not be set directly, instead use .setDrawRange(...).
AlphagroupsSplit the geometry into groups, each of which will be rendered in a separate WebGL draw call. This allows an array of materials to be used with the geometry.
AlphaidUnique number for this THREE.BufferGeometry | BufferGeometry instance.
AlphaindexAllows for vertices to be re-used across multiple triangles; this is called using "indexed triangles". Each triangle is associated with the indices of three vertices. This attribute therefore stores the index of each vertex for each triangular face. If this attribute is not set, the THREE.WebGLRenderer | renderer assumes that each three contiguous positions represent a single triangle.
AlphaindirectReadonly AlphaisRead-only flag to check if a given object is of type BufferGeometry.
AlphamorphHashmap of THREE.BufferAttribute | BufferAttributes holding details of the geometry's morph targets.
Once the geometry has been rendered, the morph attribute data cannot be changed. You will have to call .dispose(), and create a new instance of THREE.BufferGeometry | BufferGeometry.
AlphamorphUsed to control the morph target behavior; when set to true, the morph target data is treated as relative offsets, rather than as absolute positions/normals.
AlphanameOptional name for this THREE.BufferGeometry | BufferGeometry instance.
Readonly AlphatypeA Read-only string to check if this object type.
AlphauserAn object that can be used to store custom data about the BufferGeometry. It should not hold references to functions as these will not be cloned.
AlphauuidUUID of this object instance.
AlphaSets the options for the text geometry.
The options for the text geometry.
AlphaSets the text to layout.
The text to layout.
AlphaAdds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
AlphaAdds a group to this geometry
OptionalmaterialIndex: numberthe groups property for details.
AlphaApplies the matrix transform to the geometry.
AlphaApplies the rotation represented by the quaternion to the geometry.
AlphaCenter the geometry based on the bounding box.
AlphaClears all groups.
AlphaCreates a clone of this BufferGeometry
AlphaCalculates and adds a tangent attribute to this geometry. The computation is only supported for indexed geometries and if position, normal, and uv attributes are defined
AlphaComputes vertex normals for the given vertex data. For indexed geometries, the method sets each vertex normal to be the average of the face normals of the faces that share that vertex. For non-indexed geometries, vertices are not shared, and the method sets each vertex normal to be the same as the face normal.
AlphaThe function to copy the source geometry.
The source geometry.
The copied geometry.
AlphaAlphaReturns true if the attribute with the specified name exists.
AlphaChecks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
AlphaRemoves a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
AlphaSets an attribute to this geometry with the specified name.
Use this rather than the attributes property, because an internal hashmap of .attributes is maintained to speed up iterating over attributes.
AlphaSet the .drawRange property
is the number of vertices or indices to render. Expects a Integer
AlphaDefines a geometry by creating a position attribute based on the given array of points. The array can hold
instances of Vector2 or Vector3. When using two-dimensional data, the z coordinate for all
vertices is set to 0.
If the method is used with an existing position attribute, the vertex data are overwritten with the data from
the array. The length of the array must match the vertex count.
AlphaSet the THREE.BufferGeometry.index | .index buffer.
AlphaAlphaReturn a non-index version of an indexed BufferGeometry.
AlphaThe function to update the text.
Optionaltext: stringThe text to layout.
Optionaloption: TextGeometryOptionThe options for the text geometry.
The class that generates THREE.BufferGeometry from BMFont data.
TextGeometry