Enumerations

Enumerations — Aspose.3D FOSS for Java

包:: com.aspose.threed (aspose-3d-foss 26.1.0)

此页面记录了所有独立的枚举。顶点元素语义的枚举(VertexElementType, MappingMode, ReferenceMode)也记录在 VertexElement 参考页面.


TextureMapping

标识 UV 元素或纹理在表面上绑定的语义通道。.

import com.aspose.threed.*;
ReferenceModeReferenceMode
AMBIENT环境光颜色覆盖纹理。.
DIFFUSE反照率/基础颜色纹理通道。.
EMISSIVE自发光/发射纹理通道。.
NORMAL切线空间法线贴图通道。.
SPECULAR高光颜色或强度纹理通道。.
BUMP基于高度的凹凸贴图通道。.
REFLECTION环境反射纹理通道。.
TRANSPARENCY透明度/Alpha 纹理通道。.
GLOW辉光/泛光强度纹理通道。.

ReferenceMode

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

标识两个网格对象之间的构造实体几何(CSG)布尔运算的类型。.

import com.aspose.threed.*;
ReferenceModeReferenceMode
UNIONUnion:结果是两个操作数的组合体积。.
DIFFERENCEDifference:第二个操作数的体积从第一个中移除。.
INTERSECTIONIntersection:结果是两个操作数共享的体积。.

BooleanOperation 存储为节点或由 CSG 导入器生成的自定义对象的元数据。Aspose.3D 用于 Java 不提供运行时布尔求值器;该枚举描述源文件意图。.


ReferenceMode

标识坐标轴。用于坐标系重新映射选项和 AssetInfo.

import com.aspose.threed.*;
ReferenceModeReferenceMode
X_AXIS正 X 轴。.
Y_AXIS正 Y 轴。.
Z_AXIS正 Z 轴。.
NEGATIVE_X_AXIS负 X 轴。.
NEGATIVE_Y_AXIS负 Y 轴。.
NEGATIVE_Z_AXIS负 Z 轴。.

CoordinateSystem

指定场景坐标系的手性约定。.

import com.aspose.threed.*;
ReferenceModeReferenceMode
RIGHT_HANDED右手坐标系(OpenGL、glTF、Blender 默认)。.
LEFT_HANDED左手坐标系(DirectX,Unity 默认)。.

FileContentType

标识文件格式的内容类型。.

import com.aspose.threed.*;
ReferenceModeReferenceMode
ASCII基于文本的文件格式(例如 OBJ ASCII、STL ASCII、glTF JSON)。.
BINARY二进制文件格式(例如 STL binary、GLB、FBX binary)。.

VertexElementType

a 的语义类型。 VertexElement 层。另见:: VertexElement 参考.


MappingMode

控制每个顶点元素值关联的几何基元。可用值:: CONTROL_POINT, POLYGON_VERTEX, POLYGON. 另见:: VertexElement 参考.


ReferenceMode

控制 vertex element 数据数组的索引方式。另见:: VertexElement 参考.


另见

 中文