Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Orillusion/orillusion
/ functions
Functions
8,125 in github.com/Orillusion/orillusion
⨍
Functions
8,125
◇
Types & classes
2,094
↓ 34,102 callers
Function
S
(a,c,d)
packages/ammo/ammo.js:857
↓ 1,921 callers
Method
apply
* @internal * @returns
src/textures/AtmosphericScatteringSky.ts:62
↓ 899 callers
Function
R
()
packages/ammo/ammo.js:864
↓ 879 callers
Method
push
(entity: KDTreeEntity)
src/core/tree/kdTree/KDTreeNode.ts:39
↓ 739 callers
Method
addComponent
* * Create a new component and add it to the object, and return an instance of the component. * If a component of this type already exists,
src/core/entities/Object3D.ts:55
↓ 534 callers
Method
addChild
* * Add an object as a child of this object. You can add any number of objects. * Any current parent object on the object passed here will b
src/core/entities/Entity.ts:125
↓ 513 callers
Function
ma
(a)
packages/draco/draco_decoder_gltf.js:15
↓ 441 callers
Method
add
* Add the vectors. * @param a * @param target * @returns
src/math/Vector2.ts:128
↓ 359 callers
Method
init
(param?: any)
src/components/IComponent.ts:12
↓ 329 callers
Method
get
* Generate a random number * @returns
src/math/Rand.ts:74
↓ 301 callers
Function
T
()
packages/ammo/ammo.js:870
↓ 295 callers
Method
random
(min: number, max: number)
samples/geometry/Sample_ConduitGeometry3.ts:87
↓ 267 callers
Function
expect
(object: any)
test/util.ts:78
↓ 266 callers
Function
J
()
packages/draco/draco_wasm_wrapper_gltf.js:31
↓ 260 callers
Method
setStorageBuffer
(propertyName: string, buffer: StorageGPUBuffer)
src/materials/Material.ts:207
↓ 252 callers
Method
set
(start: Vector3, end: Vector3)
src/math/Line.ts:44
↓ 250 callers
Function
K
()
packages/draco/draco_wasm_wrapper_gltf.js:32
↓ 234 callers
Function
k
(a,c)
packages/ammo/ammo.js:549
↓ 224 callers
Function
na
(a)
packages/draco/draco_decoder_gltf.js:15
↓ 207 callers
Method
toEqual
(obj: any)
test/util.ts:40
↓ 187 callers
Function
fi
(a,b,c,d)
packages/draco/draco_decoder_gltf.js:15
↓ 186 callers
Method
create
(source: GeometryBase, tex: BitmapTexture2DArray, num: number)
packages/graphic/renderer/graphic3d/Graphic3DMeshRenderer.ts:16
↓ 186 callers
Method
setFloat
(v: number, index: number = 0)
src/core/pool/memory/MemoryInfo.ts:134
↓ 181 callers
Method
setUniformFloat
(propertyName: string, value: number)
src/materials/Material.ts:216
↓ 175 callers
Function
oa
(a,b,c)
packages/draco/draco_decoder_gltf.js:15
↓ 174 callers
Method
peekToken
(offset: number)
src/gfx/graphics/webGpu/shader/converter/GLSLLexer.ts:23
↓ 173 callers
Method
setFloat
(name: string, v: number)
src/gfx/graphics/webGpu/core/buffer/GPUBufferBase.ts:71
↓ 163 callers
Function
T
()
packages/draco/draco_wasm_wrapper_gltf.js:31
↓ 149 callers
Method
pop
()
src/util/ZSorterUtil.ts:17
↓ 139 callers
Method
onChange
()
src/components/lights/LightBase.ts:65
↓ 136 callers
Method
startRenderView
* set render view and start renderer * @param view * @returns
src/Engine3D.ts:384
↓ 125 callers
Method
max
(v: Vector3, target: Vector3 = this)
src/math/Vector3.ts:555
↓ 110 callers
Function
test
(unit: string, run: () => Promise<any>)
test/util.ts:5
↓ 109 callers
Function
mI
(a,b,c,d)
packages/ammo/ammo.js:34
↓ 106 callers
Function
la
(a,b,c,d)
packages/ammo/ammo.js:35
↓ 102 callers
Method
getDefaultColorShader
()
src/gfx/graphics/webGpu/shader/Shader.ts:76
↓ 101 callers
Method
clone
()
src/core/bound/IBound.ts:17
↓ 100 callers
Method
min
(v: Vector3, target: Vector3 = this)
src/math/Vector3.ts:548
↓ 98 callers
Method
perspective
* set matrix perspective * @param fov perspective angle 0 ~ 90 * @param aspect aspect ratio * @param zn near plane * @param zf fa
src/math/Matrix4.ts:575
↓ 97 callers
Method
setCamera
* * Initialize camera data * @param cameraPos source position * @param lookAt target position
src/components/controller/FlyCameraController.ts:74
↓ 95 callers
Method
open
()
packages/debug/GUIHelp.ts:91
↓ 95 callers
Method
skipToken
(offset: number)
src/gfx/graphics/webGpu/shader/converter/GLSLLexer.ts:19
↓ 94 callers
Method
createCamera3DObject
* create a Camera3D component * @param parent parent object3D * @param name set name to the owner of this camera3D * @returns
src/util/CameraUtil.ts:18
↓ 90 callers
Method
register
(keyName: string, code: string)
src/assets/shader/ShaderLib.ts:141
↓ 85 callers
Function
pa
()
packages/draco/draco_decoder_gltf.js:16
↓ 84 callers
Method
setDefine
(define: string, value: boolean)
src/materials/Material.ts:199
↓ 82 callers
Method
destroy
(force?: boolean)
src/components/IComponent.ts:23
↓ 82 callers
Function
qa
(a,b,c)
packages/draco/draco_decoder_gltf.js:15
↓ 82 callers
Method
setAttribute
(attribute: VertexAttributeName | string, data: ArrayBufferData)
src/core/geometry/GeometryBase.ts:173
↓ 81 callers
Method
abs
()
src/math/Vector2.ts:207
↓ 78 callers
Method
concat
* Merges the current matrix with the target matrix * @param matrix target matrix
src/math/Matrix3.ts:88
↓ 77 callers
Function
h
(a)
packages/ammo/ammo.js:549
↓ 76 callers
Method
addEventListener
* * register an event listener to event distancher. * @param type {string} event type. * @param callback {Function} The callback functi
src/event/CEventDispatcher.ts:79
↓ 76 callers
Method
addFolder
(label: string)
packages/debug/GUIHelp.ts:106
↓ 75 callers
Method
toString
* Returns the string form of the current vector * @returns
src/math/Vector3.ts:1010
↓ 73 callers
Function
oa
(a)
packages/ammo/ammo.js:35
↓ 73 callers
Method
random
* random on color * @returns
src/math/Color.ts:147
↓ 73 callers
Method
setUniformColor
(propertyName: string, value: Color)
src/materials/Material.ts:232
↓ 72 callers
Method
copyFrom
* Copy skeleton pose from other skeleton pose * @param other source skeleton pose
src/components/anim/skeletonAnim/SkeletonPose.ts:112
↓ 72 callers
Function
pa
(a,b,c)
packages/ammo/ammo.js:32
↓ 71 callers
Method
subtract
* @language en_US * Subtracts the value of the x, y, and z elements of the current * Vector3 object from the values of the x, y, and z eleme
src/math/Vector3.ts:842
↓ 70 callers
Method
split
(type: ValueEnumType, value: CurveValueType, property: string)
src/math/enum/T/KeyframeT.ts:35
↓ 69 callers
Method
readInt32
()
src/util/BytesArray.ts:103
↓ 68 callers
Method
toBtVec
* Vector3 to Ammo.btVector3
packages/physics/utils/TempPhyMath.ts:41
↓ 65 callers
Method
copyFrom
* Copy the properties of the source object to this object * @param v source object * @returns
src/math/Rect.ts:94
↓ 65 callers
Method
getComponent
* * Returns a component of the specified type. * @param c class of component * @returns result component
src/core/entities/Object3D.ts:116
↓ 65 callers
Method
setTexture
(propertyName: string, texture: Texture)
src/materials/Material.ts:203
↓ 62 callers
Method
loadTexture
* load texture by url * @param url texture path * @param loaderFunctions callback * @param flipY use flip y or not * @returns
src/assets/Res.ts:263
↓ 62 callers
Method
set
(array: Float32Array, index: number, offset: number, stride: number, ...args)
src/components/gui/core/GUIGeometry.ts:238
↓ 61 callers
Method
GetSingleCube
(sizeX: number, sizeY: number, sizeZ: number, r: number, g: number, b: number)
src/util/Object3DUtil.ts:81
↓ 61 callers
Method
endFolder
()
packages/debug/GUIHelp.ts:130
↓ 60 callers
Method
color_temperature_to_rgb
* Convert color temperature to color object * @param color_temperature_Kelvin Color temperature value * @returns
src/util/KelvinUtil.ts:13
↓ 60 callers
Method
dispatchEvent
* * Dispatch an event to all registered objects with a specific type of listener. * @param event3D the event is dispatched.
src/event/CEventDispatcher.ts:24
↓ 60 callers
Method
setSamplerTexture
* set samplerTexture , use textureSample or other sample texture api * @param name * @param texture
src/gfx/graphics/webGpu/shader/ComputeShader.ts:74
↓ 58 callers
Method
getFloat
()
packages/particle/data/ParticleData.ts:22
↓ 58 callers
Method
multiplyScalar
(scalar: number)
src/math/Vector3.ts:1074
↓ 58 callers
Method
setUniformVector4
(propertyName: string, value: Vector4)
src/materials/Material.ts:228
↓ 55 callers
Method
add
(a, b?, c?, d?, e?)
packages/debug/GUIHelp.ts:45
↓ 55 callers
Method
resize
(width, height)
src/textures/RenderTexture.ts:60
↓ 54 callers
Method
setUniform
(arg0: string, arg1: UniformValue)
src/gfx/graphics/webGpu/shader/Shader.ts:107
↓ 53 callers
Method
normalize
* Convert this vector to a unit vector.
src/math/Vector2.ts:303
↓ 53 callers
Method
toSubequal
(obj: any, threshold: any = 0.00001)
test/util.ts:65
↓ 52 callers
Function
clamp
(value, min, max)
src/math/MathUtil.ts:36
↓ 52 callers
Function
qa
(a,b,c)
packages/ammo/ammo.js:32
↓ 51 callers
Method
mul
* The current vector times the scalar s * @param s scalar s * @returns
src/math/Vector3.ts:775
↓ 49 callers
Method
getValue
* get point2d at curve * @param v 0.0 ~ 1.0 * @returns return point2D at curve
src/math/Bezier2D.ts:40
↓ 49 callers
Method
parse
(r: GLSLLexer)
src/gfx/graphics/webGpu/shader/converter/StatementNode.ts:39
↓ 48 callers
Method
beginCommandEncoder
* auto get webgpu commandEncoder and start a command encoder * @returns commandEncoder {@link GPUCommandEncoder}
src/gfx/renderJob/GPUContext.ts:110
↓ 47 callers
Function
createExampleScene
(param?: ExampleSceneParam)
samples/utils/ExampleScene.ts:104
↓ 46 callers
Function
ra
(a)
packages/ammo/ammo.js:30
↓ 45 callers
Method
readFloat32
()
src/util/BytesArray.ts:109
↓ 44 callers
Method
endCommandEncoder
* end CommandEncoder record and submit * @param command {@link GPUCommandEncoder}
src/gfx/renderJob/GPUContext.ts:123
↓ 44 callers
Method
getUniform
(arg0: string)
src/gfx/graphics/webGpu/shader/Shader.ts:155
↓ 44 callers
Method
setFloat32Array
(index: number, data: Float32Array)
src/core/pool/memory/MemoryInfo.ts:173
↓ 43 callers
Method
addPost
* Add a post processing special effects task * @param post
src/gfx/renderJob/jobs/RendererJob.ts:174
↓ 43 callers
Function
sa
(a)
packages/ammo/ammo.js:35
↓ 43 callers
Method
set
(x: number, y: number, h: number = 0, invalid?: boolean)
packages/graphic/renderer/shape3d/Shape3D.ts:62
↓ 43 callers
Method
setStorageBuffer
(arg0: string, arg1: StorageGPUBuffer)
src/gfx/graphics/webGpu/shader/Shader.ts:204
↓ 42 callers
Method
lineTo
(x: number, y: number)
packages/geometry/ExtrudeGeometry/Path2D.ts:65
↓ 41 callers
Method
getGPUTexture
* create or get GPUTexture * @returns GPUTexture
src/gfx/graphics/webGpu/core/texture/Texture.ts:384
next →
1–100 of 8,125, ranked by callers