Enumerations — Aspose.3D FOSS for Java
Package: com.aspose.threed (aspose-3d-foss 26.1.0)
This page documents all standalone enumerations. Enumerations for vertex element semantics (VertexElementType, MappingMode, ReferenceMode) are also documented on the VertexElement reference page.
TextureMapping
Identifies the semantic channel a UV element or texture is bound to on a surface.
import com.aspose.threed.*;| Value | Description |
|---|---|
AMBIENT | Ambient light colour override texture. |
DIFFUSE | Albedo / base colour texture channel. |
EMISSIVE | Self-illumination / emission texture channel. |
NORMAL | Tangent-space normal map channel. |
SPECULAR | Specular colour or intensity texture channel. |
BUMP | Height-based bump map channel. |
REFLECTION | Environment reflection texture channel. |
TRANSPARENCY | Transparency / alpha texture channel. |
GLOW | Glow / bloom intensity texture channel. |
Example
import com.aspose.threed.*;
Mesh mesh = new Mesh();
// ... define control points and polygons ...
// Attach a UV layer for the diffuse channel
VertexElementUV uv = mesh.createElementUV(
TextureMapping.DIFFUSE,
MappingMode.CONTROL_POINT,
ReferenceMode.DIRECT
);BooleanOperation
Identifies the type of constructive solid geometry (CSG) Boolean operation between two mesh objects.
import com.aspose.threed.*;| Value | Description |
|---|---|
UNION | Union: the result is the combined volume of both operands. |
DIFFERENCE | Difference: the volume of the second operand is removed from the first. |
INTERSECTION | Intersection: the result is the volume shared by both operands. |
BooleanOperation is stored as metadata on nodes or custom objects produced by CSG importers. Aspose.3D for Java does not provide a runtime Boolean evaluator; the enum describes source-file intent.
Axis
Identifies a coordinate axis. Used in coordinate-system remapping options and AssetInfo.
import com.aspose.threed.*;| Value | Description |
|---|---|
X_AXIS | The positive X axis. |
Y_AXIS | The positive Y axis. |
Z_AXIS | The positive Z axis. |
NEGATIVE_X_AXIS | The negative X axis. |
NEGATIVE_Y_AXIS | The negative Y axis. |
NEGATIVE_Z_AXIS | The negative Z axis. |
CoordinateSystem
Specifies the handedness convention for the scene’s coordinate system.
import com.aspose.threed.*;| Value | Description |
|---|---|
RIGHT_HANDED | Right-handed coordinate system (OpenGL, glTF, Blender default). |
LEFT_HANDED | Left-handed coordinate system (DirectX, Unity default). |
FileContentType
Identifies the content type of a file format.
import com.aspose.threed.*;| Value | Description |
|---|---|
ASCII | Text-based file format (e.g., OBJ ASCII, STL ASCII, glTF JSON). |
BINARY | Binary file format (e.g., STL binary, GLB, FBX binary). |
VertexElementType
Semantic type for a VertexElement layer. See also: VertexElement reference.
MappingMode
Controls which geometry primitive each vertex element value is associated with. Available values: CONTROL_POINT, POLYGON_VERTEX, POLYGON. See also: VertexElement reference.
ReferenceMode
Controls how the vertex element data array is indexed. See also: VertexElement reference.