Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/galacean/engine
/ functions
Functions
8,347 in github.com/galacean/engine
⨍
Functions
8,347
◇
Types & classes
1,752
↓ 43 callers
Method
rotate
( rotationOrX: Vector3 | number, relativeToLocalOrY?: boolean | number, z?: number, relativeTo
packages/core/src/Transform.ts:498
↓ 43 callers
Function
toString
(v: Vector3)
tests/src/math/Vector3.test.ts:4
↓ 41 callers
Function
N6
(a)
packages/physics-physx/libs/physx.release.downgrade.js:18
↓ 41 callers
Method
_addResourceReferCount
(resource: IReferable, count: number)
packages/core/src/Component.ts:157
↓ 41 callers
Method
resolve
(value?: T | PromiseLike<T>)
packages/core/src/asset/AssetPromise.ts:25
↓ 41 callers
Method
subtract
* Determines the difference between two colors. * @param left - The first color to subtract * @param right - The second color to subtract * @
packages/math/src/Color.ts:77
↓ 41 callers
Function
toString
(v: Vector4)
tests/src/math/Vector4.test.ts:4
↓ 40 callers
Function
throwBindingError
(message)
packages/physics-physx/libs/physx.release.js:9
↓ 39 callers
Function
throwBindingError
(message)
packages/physics-physx/libs/physx.release.downgrade.js:46
↓ 39 callers
Method
toString
()
packages/shader-lab/src/GSError.ts:18
↓ 38 callers
Function
Gw
(a,b,c)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 37 callers
Method
_getDuration
* @internal
packages/core/src/animation/AnimatorState.ts:162
↓ 37 callers
Method
scale
* Local scaling.
packages/core/src/Transform.ts:216
↓ 37 callers
Method
setColor
(property: string | ShaderProperty, value: Color)
packages/core/src/shader/ShaderData.ts:376
↓ 37 callers
Function
toString
(v: Vector2)
tests/src/math/Vector2.test.ts:4
↓ 36 callers
Method
canIUse
* Check device capabilities.
packages/rhi-webgl/src/GLCapability.ts:95
↓ 36 callers
Function
dW
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:29
↓ 36 callers
Method
getColorTexture
* Get the render color texture by index. * @param index - Render color texture index
packages/core/src/texture/RenderTarget.ts:198
↓ 36 callers
Function
setColliderProps
* @param entity entity need to set collider properties. * @param isDynamic set entity is dynamic or static. * @param isTrigger set collider is trigg
tests/src/core/physics/PhysicsScene.test.ts:100
↓ 35 callers
Function
formatValue
(value: number)
tests/src/core/physics/DynamicCollider.test.ts:51
↓ 35 callers
Method
getMaterial
(index: number = 0)
packages/core/src/Renderer.ts:221
↓ 34 callers
Method
findAnimatorState
* Get the state by name. * @param stateName - The state name * @param layerIndex - The layer index(default -1). If layer is -1, find the first s
packages/core/src/animation/Animator.ts:220
↓ 34 callers
Method
nextUint8
()
packages/loader/src/resource-deserialize/utils/BufferReader.ts:32
↓ 34 callers
Method
setUVs
(uv: Vector2[] | null, channelIndex?: number)
packages/core/src/mesh/ModelMesh.ts:288
↓ 33 callers
Function
_W
(a,b,c,d,e,f,g)
packages/physics-physx/libs/physx.release.downgrade.js:20
↓ 33 callers
Method
_request
* @internal
packages/core/src/asset/ResourceManager.ts:201
↓ 33 callers
Method
move
* Moves kinematically controlled dynamic actors through the game world. * @param positionOrRotation - The desired position or rotation for the kine
packages/design/src/physics/IDynamicCollider.ts:160
↓ 33 callers
Function
uZ
(a,b,c,d,e,f)
packages/physics-physx/libs/physx.release.downgrade.js:17
↓ 32 callers
Function
DZ
(a,b,c,d,e,f,g)
packages/physics-physx/libs/physx.release.downgrade.js:18
↓ 32 callers
Method
codeGen
(visitor: CodeGenVisitor)
packages/shader-lab/src/parser/AST.ts:1495
↓ 32 callers
Method
scale
* Scale a color by the given value. * @param left - The color to scale * @param s - The amount by which to scale the color * @param out - The
packages/math/src/Color.ts:92
↓ 32 callers
Function
throwBindingError
(message)
packages/loader/libs/basis_transcoder.js:9
↓ 31 callers
Method
dot
* Determines the dot product of two vectors. * @param left - The first vector to dot * @param right - The second vector to dot * @returns The
packages/math/src/Vector2.ts:68
↓ 31 callers
Function
gy
(a,b,c)
packages/physics-physx/libs/physx.release.downgrade.js:28
↓ 30 callers
Function
CU
(a,b,c,d,e,f)
packages/physics-physx/libs/physx.release.downgrade.js:20
↓ 30 callers
Method
addAlphaKey
(timeOrKey: number | GradientAlphaKey, alpha?: number)
packages/core/src/particle/modules/ParticleGradient.ts:93
↓ 30 callers
Method
getTexture
(property: string | ShaderProperty)
packages/core/src/shader/ShaderData.ts:394
↓ 30 callers
Method
min
* Calculate a vector containing the smallest components of the specified vectors. * @param left - The first vector * @param right - The second v
packages/math/src/Vector2.ts:138
↓ 29 callers
Method
addTransition
(transitionOrAnimatorState: AnimatorStateTransition | AnimatorState)
packages/core/src/animation/AnimatorState.ts:104
↓ 29 callers
Function
fW
(a,b,c,d)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 29 callers
Method
keys
* The keys of the curve.
packages/core/src/particle/modules/ParticleCurve.ts:21
↓ 29 callers
Method
length
* Calculate the length of this vector. * @returns The length of this vector
packages/math/src/Vector2.ts:289
↓ 29 callers
Method
lerp
* Performs a linear interpolation between two color. * @param start - The first color * @param end - The second color * @param t - The blend
packages/math/src/Color.ts:109
↓ 29 callers
Function
resourceLoader
(assetType: string, extNames: string[], useCache: boolean = true)
packages/core/src/asset/ResourceManager.ts:627
↓ 29 callers
Function
testParticleRendererBounds
( engine: Engine, render: ParticleRenderer, expectedMinBounds: { x: number; y: number; z: number }, ex
tests/src/core/particle/ParticleBoundingBox.test.ts:45
↓ 28 callers
Method
addBlendShape
* Add a BlendShape for this ModelMesh. * @param blendShape - The BlendShape
packages/core/src/mesh/ModelMesh.ts:589
↓ 28 callers
Method
deleteByIndex
* Delete the element at the specified index. * @param index - The index of the element to be deleted * @returns The replaced item is used to res
packages/core/src/utils/DisorderedArray.ts:83
↓ 28 callers
Method
invert
* Calculate the inverse of the specified matrix. * @param a - The matrix whose inverse is to be calculated * @param out - The inverse of the spe
packages/math/src/Matrix.ts:415
↓ 28 callers
Method
removeListener
* Remove a listener. * @param listener - The listener
packages/core/src/UpdateFlagManager.ts:55
↓ 28 callers
Method
setColliderLayerCollision
* Set whether two collision layers can collide with each other. * @param layer1 - The first collision layer * @param layer2 - The second collisi
packages/design/src/physics/IPhysics.ts:152
↓ 27 callers
Method
_initialize
* @internal
packages/xr/src/XRManagerExtended.ts:278
↓ 27 callers
Function
addBox
(cubeSize: Vector3, type: typeof DynamicCollider | typeof StaticCollider, pos: Vector3)
tests/src/core/physics/DynamicCollider.test.ts:34
↓ 27 callers
Function
formatValue
(value: number)
tests/src/core/physics/HingeJoint.test.ts:34
↓ 27 callers
Method
getColor
(property: string | ShaderProperty)
packages/core/src/shader/ShaderData.ts:356
↓ 26 callers
Function
VT
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 26 callers
Method
_getTypeArray
* @internal
packages/core/src/particle/modules/ParticleCurve.ts:119
↓ 26 callers
Function
addBox
(cubeSize: Vector3, type: typeof DynamicCollider | typeof StaticCollider, pos: Vector3)
tests/src/core/physics/PhysicsMaterial.test.ts:34
↓ 26 callers
Method
addEffect
* Add a PostProcessEffect to the PostProcess. * @remarks Only one effect of the same type can be added to the PostProcess. * @param type - The t
packages/core/src/postProcess/PostProcess.ts:88
↓ 26 callers
Method
addListener
* Add a listener. * @param listener - The listener
packages/core/src/UpdateFlagManager.ts:47
↓ 26 callers
Method
createCuboid
* Create a cuboid mesh. * @param engine - Engine * @param width - Cuboid width * @param height - Cuboid height * @param depth - Cuboid dep
packages/core/src/mesh/PrimitiveMesh.ts:98
↓ 26 callers
Method
setVector3
(property: string | ShaderProperty, value: Vector3)
packages/core/src/shader/ShaderData.ts:262
↓ 25 callers
Function
addBox
(cubeSize: Vector3, type: typeof DynamicCollider | typeof StaticCollider, pos: Vector3)
tests/src/core/physics/Joint.test.ts:11
↓ 25 callers
Method
clamp
* Clamps the specified value. * @param v - The specified value * @param min - The min value * @param max - The max value * @returns The re
packages/math/src/MathUtil.ts:19
↓ 25 callers
Method
delete
* Delete the specified element. * @param element - The element to be deleted
packages/core/src/utils/DisorderedArray.ts:48
↓ 25 callers
Method
nextUint32
()
packages/loader/src/resource-deserialize/utils/BufferReader.ts:44
↓ 25 callers
Function
xg
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:24
↓ 24 callers
Method
addCondition
( param: string | AnimatorCondition, mode?: AnimatorConditionMode, threshold?: AnimatorControllerP
packages/core/src/animation/AnimatorStateTransition.ts:90
↓ 24 callers
Method
addContentRestorer
* Add content restorer. * @param restorer - The restorer
packages/core/src/asset/ResourceManager.ts:180
↓ 24 callers
Method
addEventListener
* Add event listener for XR session.
packages/design/src/xr/IXRSession.ts:58
↓ 24 callers
Method
copyFromArray
* Copy from array like object. * @param source - Array like object * @param offset - The start offset * @returns This color
packages/math/src/Color.ts:280
↓ 24 callers
Method
createCylinder
* Create a cylinder mesh. * @param engine - Engine * @param radiusTop - The radius of top cap * @param radiusBottom - The radius of bottom ca
packages/core/src/mesh/PrimitiveMesh.ts:157
↓ 24 callers
Function
i7
(a)
packages/physics-physx/libs/physx.release.downgrade.js:34
↓ 24 callers
Method
uploadData
* Upload data to GPU set by `setPositions()`, `setNormals()`, `setColors()`, `setBoneWeights()`, `setBoneIndices()`, `setTangents()`, `setUVs()`, `set
packages/core/src/mesh/ModelMesh.ts:616
↓ 23 callers
Function
O5
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:23
↓ 23 callers
Method
_render
* @internal
packages/core/src/sky/Sky.ts:61
↓ 23 callers
Method
addRootEntity
(indexOrChild: number | Entity, entity?: Entity)
packages/core/src/Scene.ts:324
↓ 23 callers
Function
g7
(a,b,c,d)
packages/physics-physx/libs/physx.release.downgrade.js:29
↓ 23 callers
Method
getPixelBuffer
* Get the pixel color buffer according to the specified area. * @param x - X coordinate of area start * @param y - Y coordinate of area start
packages/core/src/renderingHardwareInterface/IPlatformTexture2D.ts:53
↓ 23 callers
Method
getUVs
(channelIndex?: number)
packages/core/src/mesh/ModelMesh.ts:341
↓ 23 callers
Method
transform
* The transform of this entity.
packages/core/src/Entity.ts:155
↓ 23 callers
Function
yW
(a,b,c)
packages/physics-physx/libs/physx.release.downgrade.js:21
↓ 22 callers
Function
XT
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:18
↓ 22 callers
Method
addFrame
( frameOrWeight: BlendShapeFrame | number, deltaPositions?: Vector3[], deltaNormals?: Vector3[],
packages/core/src/mesh/BlendShape.ts:59
↓ 22 callers
Method
evaluate
* Evaluates the color for the specified direction. * @param direction - Specified direction * @param out - Out color
packages/math/src/SphericalHarmonics3.ts:78
↓ 22 callers
Function
formatValue
(value: number)
tests/src/core/physics/ColliderShape.test.ts:20
↓ 22 callers
Method
getContext
* @internal
packages/core/src/audio/AudioManager.ts:23
↓ 22 callers
Method
getResourceByRef
* @internal * @beta Just for internal editor, not recommended for developers.
packages/core/src/asset/ResourceManager.ts:580
↓ 22 callers
Function
readLatin1String
(ptr)
packages/physics-physx/libs/physx.release.downgrade.js:46
↓ 22 callers
Function
readLatin1String
(ptr)
packages/physics-physx/libs/physx.release.js:9
↓ 22 callers
Method
setData
( byteLength: number, data: ArrayBuffer | ArrayBufferView, bufferByteOffset?: number, dataOffs
packages/core/src/renderingHardwareInterface/IPlatformBuffer.ts:6
↓ 22 callers
Method
setVector4
(property: string | ShaderProperty, value: Vector4)
packages/core/src/shader/ShaderData.ts:300
↓ 22 callers
Function
t6
(a,b,c)
packages/physics-physx/libs/physx.release.downgrade.js:32
↓ 21 callers
Function
Cv
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:25
↓ 21 callers
Function
addBox
(cubeSize: Vector3, type: typeof DynamicCollider | typeof StaticCollider, pos: Vector3)
tests/src/core/physics/HingeJoint.test.ts:21
↓ 21 callers
Method
applyTorque
* Apply a torque to the DynamicCollider. * @param torque - The force make the collider rotate
packages/core/src/physics/DynamicCollider.ts:342
↓ 21 callers
Method
copyToArray
* Copy the value of this color to an array. * @param out - The color * @param outOffset - The start offset
packages/math/src/Color.ts:294
↓ 21 callers
Method
createVariable
(lexeme: string, type: GalaceanDataType, scope = EShaderStage.ALL)
packages/shader-lab/src/parser/builtin/variables.ts:18
↓ 21 callers
Function
eW
(a,b)
packages/physics-physx/libs/physx.release.downgrade.js:29
↓ 21 callers
Method
garbageCollection
* Garbage collection, clean up all cached elements.
packages/core/src/utils/DisorderedArray.ts:144
↓ 21 callers
Method
getCurrentAnimatorState
* Get the playing state from the target layerIndex. * @param layerIndex - The layer index
packages/core/src/animation/Animator.ts:211
← previous
next →
101–200 of 8,347, ranked by callers