_ active Bind Group _activeBindGroup : any
_ buffer Updates _bufferUpdates : any []
_ camera Update Frame _cameraUpdateFrame : number
_ canvas View _canvasView : any
_ destroy Queue _destroyQueue : Set < any >
_ empty Light _emptyLight : Float32Array < ArrayBuffer >
_ inv View Proj _invViewProj : Mat4
_ last Canvas Tex _lastCanvasTex : any
_ last Pipeline _lastPipeline : any
_ lights Data _lightsData : Float32Array < ArrayBuffer >
_ scene Data _sceneData : Float32Array < ArrayBuffer >
_ shadow Pass Descs _shadowPassDescs : any []
_ temp View Proj _tempViewProj : Mat4
_ trans Pass Desc _transPassDesc : { colorAttachments : { clearValue : { a : number ; b : number ; g : number ; r : number } ; loadOp : string ; storeOp : string ; view : any ; } [] ; depthStencilAttachment : { depthClearValue : number ; depthLoadOp : string ; depthStoreOp : string ; view : any ; } ; }
_ view Proj Matrix _viewProjMatrix : Mat4
_ view Scratch _viewScratch : Float32Array < ArrayBuffer >
_volumetricLightUniforms : { direction : any ; viewProjectionMatrix : any }
_volumetricUniforms : { invViewProjectionMatrix : any }
activate Editor activateEditor : () => void
audio Manager audioManager : AudioAssetManager = ...
auto Update autoUpdate : any [] = []
blend Queue blendQueue : any []
bloom Bind Group bloomBindGroup : any
bloom Output Tex bloomOutputTex : any
bloom Pass bloomPass : | BloomPass | { enabled : boolean ; setBlurRadius : ( v : any ) => void ; setIntensity : ( v : any ) => void ; setKnee : ( v : any ) => void ; setThreshold : ( v : any ) => void ; }
camera Buffer cameraBuffer : any
cameras cameras : | { cinematicCamera ?: undefined ; firstPersonCamera : FirstPersonCamera ; planeCamera ?: undefined ; RPG ?: undefined ; WASD ?: undefined ; } | { cinematicCamera ?: undefined ; firstPersonCamera ?: undefined ; planeCamera ?: undefined ; RPG ?: undefined ; WASD : WASDCamera ; } | { cinematicCamera ?: undefined ; firstPersonCamera ?: undefined ; planeCamera ?: undefined ; RPG : RPGCamera ; WASD ?: undefined ; } | { cinematicCamera : CinematicCamera ; firstPersonCamera ?: undefined ; planeCamera ?: undefined ; RPG ?: undefined ; WASD ?: undefined ; } | { cinematicCamera ?: undefined ; firstPersonCamera ?: undefined ; planeCamera : PlaneCamera ; RPG ?: undefined ; WASD ?: undefined ; } | { cinematicCamera : CinematicCamera ; firstPersonCamera ?: undefined ; planeCamera ?: undefined ; RPG ?: undefined ; WASD : WASDCamera ; }
canvas canvas : HTMLCanvasElement
compare Sampler compareSampler : any
compute Culling computeCulling : ComputeCullingSystem
create Me createMe : () => void
culled Render Pass culledRenderPass : CulledRenderPass
destroy By Prefix destroyByPrefix : ( prefix : any ) => void
destroy By Sufix destroyBySufix : ( sufix : any ) => void
dummy Cloth Buffer dummyClothBuffer : any
dummy SSR Texture dummySSRTexture : any
editor Add OBJ editorAddOBJ : any
editor Add Procedural Mesh editorAddProceduralMesh : any
effects By Type effectsByType : { FlameEmitter : any [] }
entity Arg Pass entityArgPass : { depthLoadOp : string ; depthStoreOp : string ; loadOp : string ; storeOp : string ; } = ...
entity Holder entityHolder : any [] = []
final PS finalPS : { colorAttachments : { clearValue : { a : number ; b : number ; g : number ; r : number } ; loadOp : string ; storeOp : string ; view : any ; } [] ; }
flag Prevent Rebuild Map flagPreventRebuildMap : boolean = false
flush Destroy Queue flushDestroyQueue : () => void
generator Wall NONPHYSICS generatorWallNONPHYSICS : any
getTransformationMatrix : ( camera : any , dt : any ) => void
global Ambient globalAmbient : Vec3
globalSceneUniformBuffer : any
gpu Capabilities gpuCapabilities : GPUCapabilities
GPU Culling Rad GPUCullingRad : number
indirect Manager indirectManager : IndirectRenderingManager
last Frame MS lastFrameMS : number
last Time lastTime : number = 0
light Container lightContainer : any [] = []
log Loop Error logLoopError : boolean
main Camera Params mainCameraParams : { responseCoef : any ; type : any }
main Depth Texture mainDepthTexture : any
main Depth View mainDepthView : any
main Render Bundle mainRenderBundle : any [] = []
main Render Pass Desc mainRenderPassDesc : { colorAttachments : { clearValue : number [] ; loadOp : string ; storeOp : string ; view : any ; } [] ; depthStencilAttachment : { depthClearValue : number ; depthLoadOp : string ; depthStoreOp : string ; view : any ; } ; label : string ; }
material BGL materialBGL : any
material Video BGL materialVideoBGL : any
matrix Physics matrixPhysics : PhysicsBridge
matrix Sounds matrixSounds : MatrixSounds = ...
MAX_ SPOTLIGHTS MAX_SPOTLIGHTS : any
ME Config MEConfig : { CACHE : boolean ; CAM_SPEED : number ; checkOffScreen : () => boolean ; construct : typeof __function ; FORCE_FULL_SCREEN : boolean ; fsManager : FullScreenManagerElement ; GPUCullingRad : number ; GRAVITY_Y_AXIS : number ; LOAD_AFTER_CLICK_MOBILE : boolean ; logLoopError : boolean ; MAX_BONES : number ; MAX_SPOTLIGHTS : number ; MOUSE_SENS : number ; PHYSICS_GROUND_BYX : number ; PHYSICS_GROUND_BYZ : number ; PHYSICS_GROUND_Y : number ; SHADOW_RES : number ; SINGLE_CAMERA : boolean ; TOUCH_SENS : number ; }
no Bloom Bind Group noBloomBindGroup : any
normal Texture normalTexture : any
normal Texture View normalTextureView : any
opaque Buckets opaqueBuckets : Map < any , any > = ...
override Render overrideRender : any
physics Bodies Chain physicsBodiesChain : any
physics Bodies Generator physicsBodiesGenerator : any
physics Bodies Generator Deep Pyramid physicsBodiesGeneratorDeepPyramid : any
physics Bodies Generator Pyramid physicsBodiesGeneratorPyramid : any
physics Bodies Generator Tower physicsBodiesGeneratorTower : any
physics Bodies Generator Wall physicsBodiesGeneratorWall : any
post Process Input Tex postProcessInputTex : any
post Process Input View postProcessInputView : any
present Pipeline presentPipeline : any
present Sampler presentSampler : any
reference reference : { addRaycastsListener : ( canvasId ?: string , eventName ?: string ) => void ; BVHPlayer : typeof BVHPlayer ; BVHPlayerInstances : typeof BVHPlayerInstances ; downloadMeshes : ( nameAndURLs : any , completionCallback : Function , inputArg : any , ) => void ; effectsClassRef : { FlameEffect : typeof FlameEffect ; FlameEmitter : typeof FlameEmitter ; HPBarEffect : typeof HPBarEffect ; KaleidoscopeEffect : typeof KaleidoscopeEffect ; MANABarEffect : typeof MANABarEffect ; PointerEffect : typeof PointerEffect ; } ; graphAdapter : ( compilerResult : any , nodes : any ) => string ; MEMeshObj : typeof default ; MEMeshObjInstances : typeof default ; } = ... Type Declaration addRaycastsListener : ( canvasId ?: string , eventName ?: string ) => void BVHPlayer : typeof BVHPlayer BVHPlayerInstances : typeof BVHPlayerInstances downloadMeshes : ( nameAndURLs : any , completionCallback : Function , inputArg : any ) => void effectsClassRef : { FlameEffect : typeof FlameEffect ; FlameEmitter : typeof FlameEmitter ; HPBarEffect : typeof HPBarEffect ; KaleidoscopeEffect : typeof KaleidoscopeEffect ; MANABarEffect : typeof MANABarEffect ; PointerEffect : typeof PointerEffect ; } graphAdapter : ( compilerResult : any , nodes : any ) => string MEMeshObj : typeof default MEMeshObjInstances : typeof default scene Bind Group sceneBindGroup : any
scene Texture sceneTexture : any
scene Texture View sceneTextureView : any
shaders Pack shadersPack : {}
SHADOW_ RES SHADOW_RES : number
shadow Array View shadowArrayView : any
shadow Buckets shadowBuckets : { default : any [] ; instanced : any [] ; procedural : any [] } = ...
shadow Pass Views shadowPassViews : any []
shadow Sampler shadowSampler : any
shadow Texture Array shadowTextureArray : any
shadow Video Texture shadowVideoTexture : any
shadow Video View shadowVideoView : any
spotlightUniformBuffer : any
ssr Pass ssrPass : SSRPass | { enabled : boolean }
start Time startTime : number
submit Queue submitQueue : any []
texture Cache textureCache : TextureCache
transparent Buckets transparentBuckets : Map < any , any > = ...
uniformBufferBindGroupLayout : any
uniformBufferBindGroupLayoutInstanced : any
us Event usEvent : CustomEvent < {} >
volumetric Pass volumetricPass : VolumetricPass | AdvancedVolumetricPass | { enabled : boolean }
volumetric Pass2 volumetricPass2 : { enabled : boolean }
world Pos Texture worldPosTexture : any
world Pos Texture View worldPosTextureView : any
Takes in an object of
mesh_name,'/url/to/OBJ/file'pairs and a callback function. Each OBJ file will be ajaxed in and automatically converted to an OBJ.Mesh. When all files have successfully downloaded the callback function provided will be called and passed in an object containing the newly created meshes.Note: In order to use this function as a way to download meshes, a webserver of some sort must be used.