Package-level declarations
Types
Opaque memento to a viewing position and orientation (e.g. the "home" camera position), used to track camera animation between waypoints. In map mode this implements Van Wijk interpolation.
A vertex attribute component type Transcoder reads.
Creates and initializes GPU state common to all environment map filters supported.
An in-memory representation of a KTX1 file: a hierarchy of blobs (miplevels, array elements, cubemap faces) and metadata.
Creates Filament textures from KTX1 bundles.
Allows clients to create Filament textures from KTX2 containers.
Helper that enables camera interaction similar to sketchfab or Google Maps.
Selects a column of a matrix by semantic name.
The interaction style of a Manipulator.
A quaternion of single-precision floats used for 3D rotations and orientations. The quaternion is normalized during construction if no parameters are specified.
Enumeration of quaternion components.
Euler-angle rotation order (intrinsic Tait-Bryan angles).
Builds Filament-style TANGENTS buffers (tangent-space quaternions) from an input mesh, with a choice of algorithms. Supersedes SurfaceOrientation.
Loads common image formats (PNG, JPG, etc.) into a Filament Texture.
Converts vertex attribute data into tightly packed floats: useful for 3-component formats not every backend supports (the Vulkan minspec includes float3 but not short3).
Selects a component of a vector by semantic alias.
Properties
Functions
Returns the absolute value of the specified half-precision float. Special values are handled in the following ways:
Returns the absolute value of the given quaternion q.
Returns the conjugate of the given quaternion q.
Returns the cross product of two quaternions.
Divides a scalar by a quaternion.
Returns the dot product of two quaternions.
Convert a Quaternion to Euler angles
Converts the specified double-precision float value into a half-precision float value. The following special cases are handled:
Converts the specified single-precision float value into a half-precision float value. The following special cases are handled:
Returns the half-precision float value represented by the specified string. The string is converted to a half-precision float value as if by the String.toFloat() method.
Returns the larger of two half-precision float values (the value closest to positive infinity). Special values are handled in the following ways:
Returns the smaller of two half-precision float values (the value closest to negative infinity). Special values are handled in the following ways:
Subtracts a quaternion from a scalar.
Returns a unit-length copy of v.
Rescale the Quaternion to the unit length
Adds a quaternion to a scalar.
Extracts a unit Quaternion from a rotation Mat4.
Returns a rotation Mat4 from the given quaternion (normalized internally).
Spherical linear interpolation between two given orientations
Multiplies a scalar by a quaternion.
Converts this double-precision float value into a half-precision float value. The following special cases are handled:
Converts this single-precision float value into a half-precision float value. The following special cases are handled:
Returns the half-precision float value represented by the specified string. The string is converted to a half-precision float value as if by the String.toFloat() method.