大约有 696 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(324) Laya2.0_api(134) laya_api(106) Laya_社区(97) Laya2.0_文档(23) Laya3.0_文档(11) Laya2.0_示例(1)
...置值。 * @param key 键名。 * @param value 值。 */ public function set(key:*, value:*):void { var index:int = indexOf(key); if (index >= 0) { _values[index] = value; return; } _keys.push(key); _values.push(value); ++_lenght; } /** * 获取指定对象的键名索引。 * @param key 键名...
来源: Laya_社区 发布时间: 20180619
... constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name speed EVENT_OnStateEnter EVENT_OnStateExit EVENT_OnStateLoop EVENT_OnStateUpdate Accessors clip islooping soloTransitions transitions Methods addScript clone cloneTo event getScript getScripts hasListener off offAll ...
来源: Laya3.0_api 发布时间: 20231115
... AAA() { TestAA; Laya.stage; Stage; var a:Dictionary = new Dictionary(); a.set('test','aa'); trace(a.get('test')); } } }生成的分包test.js(function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; var Stag...
来源: Laya_社区 发布时间: 20170322
...puMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory calculateBounds clone cloneTo destroy event getBoneIndices getBoneWeights getColors getIndices getNormals getPositions getSubMesh getTangents getUVs getVertexDeclaration getVertices ha...
来源: Laya3.0_api 发布时间: 20231115
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: laya_api 发布时间: 20170929
...ldAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new Sprite3D(name?: string, isStatic?: boolean): Sprite3D Overrides Node.constructor Defined in laya/d3/core/Sprite3D.ts:142 创建一个 Sprite3D ...
来源: Laya3.0_api 发布时间: 20231115
...dSphere.ts:15 包围球的半径。 Accessors center get center(): Vector3 set center(value: Vector3): void Defined in laya/d3/math/BoundSphere.ts:20 Returns Vector3 Defined in laya/d3/math/BoundSphere.ts:16 Parameters value: Vector3 Returns void radius get radius(): number set radius(value: number)...
来源: Laya3.0_api 发布时间: 20231115
...als(b:ConchQuaternion):BooleanConchQuaternion fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 ConchQuaternion getYawPitchRoll(out:ConchVector3):void 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23...
来源: Laya2.0_api 发布时间: 20190513
...pTransform1; var sweepShape = shape._btShape; out.length = 0; bt.btVector3_setValue(convexPosFrom, -fromPosition.x, fromPosition.y, fromPosition.z); bt.btVector3_setValue(convexPosTo, -toPosition.x, toPosition.y, toPosition.z); bt.ConvexResultCallback_set_m_collisionFilterGroup(convexResultCall, col...
来源: Laya_社区 发布时间: 20201017
...ve/ConchVector4.ts:11 零向量,禁止修改 Accessors w get w(): number set w(value: number): void Defined in laya/d3/math/Native/ConchVector4.ts:83 获取W轴坐标。 Returns number W轴坐标。 Defined in laya/d3/math/Native/ConchVector4.ts:91 设置W轴坐标。 Parameters value: number W轴...
来源: Laya3.0_api 发布时间: 20231102