Type Definitions

This section contains all type definitions used within the API, offering clarity for developers implementing custom logic and integrations.

Init

ProjectInfo

type ProjectInfo {
	projectName: string;
	modelId: string;
	modelIdBase62: string;
	publishedId: string;
	workspaceId: string;
};

EventListeners

Api Events

Event Responses

{custom_event_name}

Custom events need to be setup directly in studio Events (for API)

configurator_state_change

Configurators

ConfigurationState

VariantSwitcherData

MaterialSwitcherData

Math

Vector3

Euler

Ray

RayObjectHit

Objects

Object

SceneObjects

Primitives

PrimitiveNodeSettings

PrimitiveBoxSettings

PrimitiveConeSettings

PrimitiveCylinderSettings

PrimitivePolyhedronSettings

PrimitiveSphereSettings

PrimitiveTorusSettings

PrimitiveTubeSettings

PrimitiveSquarePlaneSettings

PrimitiveInfinitePlaneSettings

Text3D

Materials

Material

AlphaMode

Textures

TextureConfig

TextureFilterSettings
TextureMapSettings
WrapMode

TextureData

Cameras

CameraSettings

CameraType

CameraViewState

Exports

Export3dFormats

ExportOptions

Last updated