Enumerations

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.*;
ValueDescription
AMBIENTAmbient light colour override texture.
DIFFUSEAlbedo / base colour texture channel.
EMISSIVESelf-illumination / emission texture channel.
NORMALTangent-space normal map channel.
SPECULARSpecular colour or intensity texture channel.
BUMPHeight-based bump map channel.
REFLECTIONEnvironment reflection texture channel.
TRANSPARENCYTransparency / alpha texture channel.
GLOWGlow / 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.*;
ValueDescription
UNIONUnion: the result is the combined volume of both operands.
DIFFERENCEDifference: the volume of the second operand is removed from the first.
INTERSECTIONIntersection: 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.*;
ValueDescription
X_AXISThe positive X axis.
Y_AXISThe positive Y axis.
Z_AXISThe positive Z axis.
NEGATIVE_X_AXISThe negative X axis.
NEGATIVE_Y_AXISThe negative Y axis.
NEGATIVE_Z_AXISThe negative Z axis.

CoordinateSystem

Specifies the handedness convention for the scene’s coordinate system.

import com.aspose.threed.*;
ValueDescription
RIGHT_HANDEDRight-handed coordinate system (OpenGL, glTF, Blender default).
LEFT_HANDEDLeft-handed coordinate system (DirectX, Unity default).

FileContentType

Identifies the content type of a file format.

import com.aspose.threed.*;
ValueDescription
ASCIIText-based file format (e.g., OBJ ASCII, STL ASCII, glTF JSON).
BINARYBinary 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.


See Also