大约有 696 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya3.0_api(324) Laya2.0_api(134) laya_api(106) Laya_社区(97) Laya2.0_文档(23) Laya3.0_文档(11) Laya2.0_示例(1)
谷歌新版浏览器getPixels接口有问题。。。 频繁调用tex.getPixels( x,y,1,1 ) 获取像素值,引擎里面getTexturePixels函数里面 ret.set(dt.slice(dst, dst + wstride), st);就挂了 只有新版谷歌浏览器里面有这个问题,老版本没有 附件 : --> 2021-11-1...
来源: Laya_社区 发布时间: 20211118
...aya/d3/math/Native/ConchVector3.ts:15 零向量,禁止修改 Accessors x get x(): number set x(value: number): void Defined in laya/d3/math/Native/ConchVector3.ts:392 获取X轴坐标。 Returns number X轴坐标。 Defined in laya/d3/math/Native/ConchVector3.ts:400 设置X轴坐标。 Parameters ...
来源: Laya3.0_api 发布时间: 20231102
...个齿轮角速度比例,默认1 Implementation public function get ratio():Number public function set ratio(value:Number):voidMethod Detail_createJoint()methodoverride protected function _createJoint():voidMon May 13 2019, 03:09 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
...s Laya.AnimatorStateScript { constructor() { super(); this._text = null; } get text() { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "动画状态:动画开始播放"; }...
来源: Laya2.0_文档 发布时间: 20210715
....AnimatorStateScript { private _text:Laya.Text; constructor() { super(); } get text():Laya.Text { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行。 */ onStateEnter() { console.log("动画开始播放了"); this._text.text = "动画状态:动画开始...
来源: Laya2.0_文档 发布时间: 20210715
...e _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getAniDuration getAnimation getAnimationCount getAnimationDataWithCache getNodeCount getNodeIndexWithName getNodeKeyFrame getNodes getNodesCurrentFrameIndex getOriginalData getOriginalDataUnfixedRate getPublicExtData getTotal...
来源: Laya3.0_api 发布时间: 20231115
...变得紊乱,碰撞盒也跟Sprite分离了 var rig:Laya.RigidBody = xx.getComponent(Laya.RigidBody); var body:any = rig.getBody(); 原本是希望找到在2D场景中整体移动刚体的方法的,但是只要调用这个方法即会出错,期望能帮忙指点,感激不尽~ 2018-11-22 添...
来源: Laya_社区 发布时间: 20181122
...and Index Constructors constructor Properties seeds Accessors seed Methods getFloat getSignedFloat getUint getByteFromInt getFloatFromInt Constructors constructor new Rand(seed: number): Rand Defined in laya/d3/math/Rand.ts:48 创建一个 Rand 实例。 Parameters seed: number 32位无符号整型...
来源: Laya3.0_api 发布时间: 20231115
...Boolean 获取是否为触发器。 Implementation public function get isTrigger():Boolean public function set isTrigger(value:Boolean):voidConstructor DetailPhysicsTriggerComponent()Constructorpublic function PhysicsTriggerComponent(collisionGroup:int, canCollideWith:int) 创建一...
来源: Laya2.0_api 发布时间: 20190513
...和otherAnchor之间的最大距离 Implementation public function get maxLength():Number public function set maxLength(value:Number):voidotherAnchorproperty public var otherAnchor:Array[首次设置有效]链接刚体链接点,是相对于otherBody的左上角位置偏移otherBody...
来源: Laya2.0_api 发布时间: 20190513