MCPcopy Index your code

hub / github.com/galacean/engine / functions

Functions8,347 in github.com/galacean/engine

↓ 1,137 callersMethodequals
* Determines whether the specified colors are equals. * @param left - The first color to compare * @param right - The second color to compare
packages/math/src/Color.ts:45
↓ 875 callersFunctionit
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 657 callersMethodaddComponent
* Add component based on the component type. * @param type - The type of the component * @param args - The arguments of the component * @retu
packages/core/src/Entity.ts:274
↓ 613 callersMethodequal
(other: IBaseSymbol)
packages/shader-lab/src/common/IBaseSymbol.ts:6
↓ 480 callersMethodset
* Set the value of this rectangle. * @param x - The x coordinate of the rectangle * @param y - The y coordinate of the rectangle * @param wid
packages/math/src/Rect.ts:87
↓ 471 callersMethodpush
* Push item to the array. * @param item - The item which want to be pushed
packages/core/src/utils/SafeLoopArray.ts:17
↓ 446 callersMethodcreateChild
* Create child entity. * @param name - The child entity's name * @returns The child entity
packages/core/src/Entity.ts:455
↓ 393 callersMethodthen
( onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2
packages/core/src/asset/AssetPromise.ts:191
↓ 351 callersFunctionabort
(what)
packages/physics-physx/libs/physx.release.downgrade.js:46
↓ 349 callersFunctionabort
(what)
packages/physics-physx/libs/physx.release.js:9
↓ 348 callersFunctionR6
(a,b,c)
packages/physics-physx/libs/physx.release.downgrade.js:22
↓ 334 callersFunctionS6
(a,b,c)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 295 callersFunctiono6
(a)
packages/physics-physx/libs/physx.release.downgrade.js:32
↓ 283 callersMethodgetByName
(name: string, value?: string)
packages/core/src/shader/ShaderMacro.ts:31
↓ 278 callersMethodgetComponent
* Get component which match the type. * @param type - The type of the component * @returns The first component which match type
packages/core/src/Entity.ts:290
↓ 274 callersMethodcreate
( nameOrShaderSource: string, vertexSourceOrShaderPassesOrSubShadersOrPlatformTarget?: ShaderLanguage
packages/core/src/shader/Shader.ts:82
↓ 252 callersMethodset
* Set the element at the specified index. * @param index - The index of the element to be set * @param element - The element to be set
packages/core/src/utils/DisorderedArray.ts:59
↓ 225 callersMethodcreateRootEntity
* Create root entity. * @param name - Entity name * @returns Entity
packages/core/src/Scene.ts:305
↓ 221 callersMethod_create
(ident: string, returnType: BuiltinType, ...args: BuiltinType[])
packages/shader-lab/src/parser/builtin/functions.ts:55
↓ 207 callersMethodget
(index: number)
packages/design/src/physics/ICollision.ts:17
↓ 187 callersFunctiono5
(a,b,c,d,e,f)
packages/physics-physx/libs/physx.release.downgrade.js:28
↓ 175 callersFunctionv
(w)
packages/physics-physx/libs/physx.release.downgrade.js:11
↓ 157 callersFunctionB
(y)
packages/physics-physx/libs/physx.release.downgrade.js:11
↓ 157 callersMethod_update
* @internal
packages/xr/src/XRManagerExtended.ts:298
↓ 145 callersFunctionl
(m,n,o)
packages/physics-physx/libs/physx.release.downgrade.js:11
↓ 137 callersFunctionx
(w,y)
packages/physics-physx/libs/physx.release.downgrade.js:11
↓ 129 callersMethodupdate
* Call on every frame to update pose of objects. * @param elapsedTime - Step time of update.
packages/design/src/physics/IPhysicsScene.ts:43
↓ 128 callersMethodforEach
* Loop through all elements. * @param callbackFn - The callback function * @param swapFn - The swap function can process the element after the c
packages/core/src/utils/DisorderedArray.ts:107
↓ 126 callersFunction$t
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:21
↓ 122 callersMethodcopyFrom
* @internal
packages/core/src/clone/ComponentCloner.ts:16
↓ 121 callersMethodsetPosition
* Set local position. * @param position - The local position
packages/design/src/physics/shape/IColliderShape.ts:18
↓ 120 callersMethodaddShape
* Add collider shape on collider. * @param shape - The collider shape attached
packages/design/src/physics/ICollider.ts:11
↓ 118 callersFunctionTt
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:23
↓ 116 callersMethodbind
()
packages/core/src/renderingHardwareInterface/IPlatformBuffer.ts:4
↓ 113 callersMethodadd
* Add item to the array. * @param index - The index of the array * @param item - The item which want to be added
packages/core/src/utils/SafeLoopArray.ts:27
↓ 110 callersMethodcopyFrom
* Copy from source object. * @returns This object
packages/math/src/ICopy.ts:9
↓ 109 callersMethodsetMaterial
* Set physics material on shape. * @param material - The physics material
packages/design/src/physics/shape/IColliderShape.ts:36
↓ 105 callersMethoddestroy
* Destroy physics scene.
packages/design/src/physics/IPhysics.ts:157
↓ 103 callersMethodadvance
()
packages/shader-lab/src/lalr/StateItem.ts:61
↓ 102 callersFunctionWT
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:18
↓ 101 callersFunctionC
()
packages/physics-physx/libs/physx.release.downgrade.js:11
↓ 97 callersFunctionASTNodeDecorator
(nonTerminal: NoneTerminal)
packages/shader-lab/src/parser/AST.ts:16
↓ 97 callersMethodcreateProductionWithOptions
( goal: NoneTerminal, options: GrammarSymbol[][], /** the ast node */ astTypePool?: ClearableO
packages/shader-lab/src/lalr/Utils.ts:24
↓ 96 callersMethodadd
* Determines the sum of two colors. * @param left - The first color to add * @param right - The second color to add * @param out - The sum of
packages/math/src/Color.ts:61
↓ 92 callersMethodenableMacro
(macro: string | ShaderMacro, value?: string)
packages/core/src/shader/ShaderData.ts:504
↓ 88 callersMethodset
(type: T, lexeme: string, arg?: ShaderRange | ShaderPosition)
packages/shader-lab/src/common/BaseToken.ts:16
↓ 87 callersMethodmax
* The upper angular limit (in degrees) of the joint.
packages/core/src/physics/joint/JointLimits.ts:21
↓ 86 callersMethodsetFloat
(property: string | ShaderProperty, value: number)
packages/core/src/shader/ShaderData.ts:72
↓ 86 callersFunctionyq
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 84 callersMethodaddChild
(indexOrChild: number | Entity, child?: Entity)
packages/core/src/Entity.ts:344
↓ 83 callersMethodcatch
* Attaches a callback for only the rejection of the Promise. * @param onRejected - The callback to execute when the Promise is rejected. * @retu
packages/core/src/asset/AssetPromise.ts:205
↓ 82 callersMethodload
(item: LoadItem, resourceManager: ResourceManager)
packages/loader/src/KTXLoader.ts:16
↓ 81 callersMethodresizeByClientSize
* Resize the rendering size according to the clientWidth and clientHeight of the canvas. * @param pixelRatio - Pixel ratio
packages/rhi-webgl/src/WebCanvas.ts:41
↓ 79 callersMethoddestroy
()
packages/core/src/renderingHardwareInterface/IPlatformBuffer.ts:17
↓ 79 callersMethodenable
* Enable one macro in this macro collection. * @param macro - ShaderMacro
packages/core/src/shader/ShaderMacroCollection.ts:50
↓ 77 callersMethoddisableMacro
(macro: string | ShaderMacro)
packages/core/src/shader/ShaderData.ts:530
↓ 72 callersFunctionupdateForE2E
(engine, deltaTime = 100, loopTime = 10)
e2e/case/.mockForE2E.ts:3
↓ 70 callersMethodgetFloat
(property: string | ShaderProperty)
packages/core/src/shader/ShaderData.ts:52
↓ 69 callersMethodclone
* Clone and return object. * @returns Clone object
packages/math/src/IClone.ts:9
↓ 69 callersMethodindexOf
* The index of the item. * @param item - The item which want to get the index * @returns Index of the item
packages/core/src/utils/SafeLoopArray.ts:57
↓ 69 callersFunctioninitScreenshot
( engine: Engine, camera: Camera | Camera[], width: number = 1200, height: number = 800, flipY = fal
e2e/case/.mockForE2E.ts:20
↓ 68 callersFunctionqm
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 67 callersFunctionH5
(a)
packages/physics-physx/libs/physx.release.downgrade.js:27
↓ 67 callersMethodgetRootEntity
* Get root entity from index. * @param index - Index * @returns Entity
packages/core/src/Scene.ts:398
↓ 67 callersMethodnextFloat32
()
packages/loader/src/resource-deserialize/utils/BufferReader.ts:62
↓ 65 callersMethodmap
* @returns index
packages/shader-lab/src/macroProcessor/sourceMap/index.ts:58
↓ 64 callersFunction_5
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:29
↓ 60 callersMethod_addReferCount
* @internal
packages/core/src/asset/IReferable.ts:9
↓ 60 callersMethodmin
* The lower angular limit (in degrees) of the joint.
packages/core/src/physics/joint/JointLimits.ts:38
↓ 60 callersMethodsetTexture
(property: string | ShaderProperty, value: Texture)
packages/core/src/shader/ShaderData.ts:412
↓ 59 callersMethodlookAt
* Calculate a right-handed look-at matrix. * @param eye - The position of the viewer's eye * @param target - The camera look-at target * @par
packages/math/src/Matrix.ts:483
↓ 59 callersMethodrun
* Execution engine loop.
packages/core/src/Engine.ts:392
↓ 57 callersMethodrandom
* Generate a number between 0 and 1. * @returns - A random number
packages/math/src/Rand.ts:37
↓ 55 callersFunctionFU
(a,b,c,d,e,f,g)
packages/physics-physx/libs/physx.release.downgrade.js:21
↓ 55 callersMethodaddKey
(timeOrKey: number | CurveKey, value?: number)
packages/core/src/particle/modules/ParticleCurve.ts:51
↓ 55 callersFunctionassert
(condition,text)
packages/physics-physx/libs/physx.release.js:9
↓ 54 callersFunctionassert
(condition,text)
packages/physics-physx/libs/physx.release.downgrade.js:46
↓ 54 callersMethodnormalize
* Normalize the normal vector of the specified plane. * @param p - The specified plane * @param out - A normalized version of the specified plan
packages/math/src/Plane.ts:14
↓ 53 callersFunctionf7
(a)
packages/physics-physx/libs/physx.release.downgrade.js:34
↓ 53 callersMethodfind
* Find a shader by name. * @param name - Name of the shader
packages/core/src/shader/Shader.ts:197
↓ 52 callersFunctionZ5
(a)
packages/physics-physx/libs/physx.release.downgrade.js:24
↓ 52 callersFunctionj7
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:33
↓ 51 callersFunctionT5
(a)
packages/physics-physx/libs/physx.release.downgrade.js:24
↓ 51 callersMethodall
(values: [...T])
packages/core/src/asset/AssetPromise.ts:53
↓ 51 callersMethodmax
* Calculate a vector containing the largest components of the specified vectors. * @param left - The first vector * @param right - The second ve
packages/math/src/Vector2.ts:126
↓ 51 callersMethodmultiply
* Determines the product of two matrices. * @param left - The first matrix to multiply * @param right - The second matrix to multiply * @para
packages/math/src/Matrix.ts:43
↓ 51 callersMethodplay
(textRenderer: TextRenderer, text: string = "")
e2e/case/text-typed.ts:70
↓ 51 callersMethodsetFloatArray
(property: string | ShaderProperty, value: Float32Array)
packages/core/src/shader/ShaderData.ts:148
↓ 50 callersFunctionPf
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:24
↓ 50 callersMethodsetRotation
* The rotation of the joint. * @param value The rotation of the joint.
packages/design/src/physics/joints/IJoint.ts:33
↓ 49 callersFunctionrg
(a,b,c)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 48 callersFunctionDv
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 48 callersMethoddegreeToRadian
* Modify the specified d from degree to radian. * @param d - The specified d * @returns The radian value
packages/math/src/MathUtil.ts:57
↓ 48 callersMethodraycast
* Casts a ray through the Scene and returns the first hit. * @param ray - The ray * @param distance - The max distance the ray should check *
packages/design/src/physics/IPhysicsScene.ts:53
↓ 46 callersFunctionLw
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 46 callersMethodreplace
(match, slice)
packages/core/src/shaderlib/ShaderFactory.ts:38
↓ 45 callersMethodapplyForce
* Apply a force to the DynamicCollider. * @param force - The force make the collider move
packages/core/src/physics/DynamicCollider.ts:334
↓ 45 callersMethoddispatch
* Dispatch the event with the specified event name. * @param event - Event name * @param data - Data * @returns - Whether the dispatching is
packages/core/src/base/EventDispatcher.ts:47
↓ 45 callersMethodsetPixelBuffer
* Setting pixels data through color buffer data, designated area and texture mipmapping level,it's also applicable to compressed formats. * @remark
packages/core/src/renderingHardwareInterface/IPlatformTexture2D.ts:17
↓ 44 callersFunctionEU
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:27
next →1–100 of 8,347, ranked by callers