Enumerations — Aspose.3D for TypeScript

Overview

This page lists all public enumeration types in Aspose.3D for TypeScript (@aspose/3d). Enumerations are typed constants used when configuring cameras, lights, vertex data, animation, and geometry operations.

Package: @aspose/3d


Vertex Data

EnumerationDescription
VertexElementTypeSemantic role of a vertex element layer: Normal, UV, VertexColor, Tangent, Binormal, and others.
MappingModeControls which primitive a vertex element value maps to: ControlPoint, PolygonVertex, or Polygon.
ReferenceModeControls how values are indexed: Direct or IndexToDirect.
VertexFieldDataTypeData type of a vertex field in a custom vertex declaration: Float, Double, Int, Vector2, Vector3, Vector4.

Camera and Rendering

EnumerationDescription
ApertureModeCamera aperture calculation mode: HorizontalAndVertical, Horizontal, Vertical, FocalLength.
ProjectionTypeCamera projection: Perspective or Orthographic.
LightTypeType of light source: Point, Directional, Spot, Area.

Animation

EnumerationDescription
ExtrapolationTypeHow animation curves extrapolate beyond their key range: Constant, Linear, Cyclic, CyclicRelative, Oscillate.
WeightedModeTangent weight mode for animation keyframes (unweighted, right-side, left-side, or both-sided weights).
StepModeStep interpolation mode for animation keyframes (continuous or next-step).
RotationModeEuler rotation order for node transforms: EulerXYZ, EulerXZY, etc.

Geometry Operations

EnumerationDescription
BooleanOperationCSG Boolean operation: Union, Difference, Intersection.
TextureMappingHow a texture is mapped to geometry: Diffuse, Specular, Emissive, Normal, Ambient, and more.

See Also