Module Engine Core

Contains core functionality for Needle Engine. This includes

  • Context Management
  • Asset Loading
  • Component Lifecycle
  • Time Handling
  • XR support
  • Unified Input Handling
  • Needle Menu
  • Networking
  • Physics, Collisions, Raycasting
  • Math and Filtering Helpers
  • Rendering Utilities
  • Debugging Utilities, Gizmos
  • User agent detection
  • and more.

Index

Namespaces

Enumerations

Classes

Interfaces

Type Aliases

Variables

Functions

__internalNotifyObjectDestroyed addAttributeChangeCallback addComponent addCustomExtensionPlugin addFile addFileFromUrl addGltfLoadEventListener addNewComponent addPatch applyHMRChanges beginListenDestroy beginListenFileSpawn beginListenInstantiate clearBalloonMessages compareAssociation copyTexture createLoader createMotion deepClone delay delayForFrames deserializeObject destroy destroyComponentInstance disposeObjectResources disposeStream download download_file enableSpatialConsole exportAsGLTF findByGuid findObjectOfType findObjectsOfType findResourceUsers fitObjectIntoVolume foreachComponent foreachComponentEnumerator forward generateQRCode generateSeed getBoundingBox getCameraController getComponent getComponentInChildren getComponentInParent getComponents getComponentsInChildren getComponentsInParent getFormattedDate getIconElement getIconTexture getIp getIpAndLocation getIpCloudflare getLoader getOrAddComponent getParam getParentHierarchyPath getPath getPeerjsInstance getPeerOptions getResourceUserCount getTempColor getTempQuaternion getTempVector getUrlParams getVisibleInCustomShadowRendering getWorldDirection getWorldEuler getWorldPosition getWorldQuaternion getWorldRotation getWorldScale hash hideDebugConsole instantiate isActiveInHierarchy isActiveSelf isAndroidDevice isAnimationAction isComponent isDesktop isDestroyed isDevEnvironment isDisposed isExporting isHostedOnGlitch isIconElement isiOS isiPad isIPad isLocalNetwork isMacOS isMobileDevice isMozillaXR isQuest isResourceTrackingEnabled isSafari isUsingInstancing loadSync logHierarchy lookAtInverse lookAtObject makeId makeIdFromRandomWords markAsInstancedRendered microphonePermissionsGranted offXRSessionEnd offXRSessionStart onAfterRender onBeforeRender onClear onDestroy onInitialized onStart onUpdate onXRSessionEnd onXRSessionStart parseSync placeOnSurface postprocessFBXMaterials prefix PromiseAllWithErrors pushState randomNumber registerComponent registerComponentExtension registerExportExtensions registerExtensions registerLoader registerPrefabProvider registerType removeAttributeChangeCallback removeComponent removeCustomImportExtensionType removeGltfLoadEventListener removePatch resolveUrl sanitizeString saveImage screenshot screenshot2 sendDestroyed serializable serializeable serializeObject setActive setAllowBalloonMessages setAllowOverlayMessages setAutoFitEnabled setCameraController setDestroyed setDevEnvironment setDisposable setDontDestroy setOrAddParamsToUrl setParam setParamWithoutReload setPeerOptions setResourceTrackingEnabled setState setVisibleInCustomShadowRendering setWorldEuler setWorldPosition setWorldPositionXYZ setWorldQuaternion setWorldQuaternionXYZW setWorldRotation setWorldRotationXYZ setWorldScale showBalloonError showBalloonMessage showBalloonWarning showDebugConsole slerp syncDestroy syncField syncInstantiate textureToCanvas tryDetermineFileTypeFromURL tryFindObject unwatchWrite upload_file validate WaitForFrames WaitForPromise WaitForSeconds watchWrite

Components