大约有 957 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0064 秒)
...awTexture color参数无效 图片添加点击事件 有的不生效 怎样获取浏览器地址传过来的GET参数 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 3d 添加灯光 模型变的黑呼呼的 很多黑面 问题状态 最新活动: 2017-10-11 16:38 浏...
来源: Laya_社区 发布时间: 20170826
... var picPath:String = file.resolvePath("img.png").nativePath;//获取图片路径 //读取图片文件到字节数组 var readFile:File = new File(picPath); var readByte:ByteArray = new ByteArray(); var re...
来源: Laya_社区 发布时间: 20170417
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...
来源: Laya3.0_api 发布时间: 20231115
...(value: Vector3): void Defined in laya/d3/physics/PhysicsSimulation.ts:176 获取重力。 Returns Vector3 Defined in laya/d3/physics/PhysicsSimulation.ts:182 获取重力。 Parameters value: Vector3 Returns void Methods addConstraint addConstraint(constraint: ConstraintComponent, disableCollisions...
来源: Laya3.0_api 发布时间: 20231115
...灵显示到舞台 * * <p>也可以获取原始图片数据,分享到网上,从而实现截图效果,示例:</p> * * var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上...
来源: Laya_社区 发布时间: 20180719
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...
来源: Laya3.0_api 发布时间: 20231115
...一个全局离线画布,不会加到DOM上,主要用来测量字体、获取image数据。 主画布 同样在初始化中还创建了渲染器Render,它是一个管理渲染的单例。 2.渲染结构 Rander 来看Rander的构造函数发现,游戏渲染的主循环是通过window.reque...
来源: Laya_社区 发布时间: 20200925
...件会自动刷新,无需代码。例如: //下面是UI进程代码 //获取选中的节点 let node = Editor.scene.getSelection()[0]; //修改节点属性,场景里的对象会自动同步,无需手动 node.props.x = 100; //修改组件属性,场景里的对象会自动同步,无需手...
来源: Laya3.0_文档 发布时间: 20250214
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...
来源: Laya3.0_api 发布时间: 20231115
...截屏分享 分享一个TS版本的3D2D结合的单机斗地主Demo 如何获取一个3D模型的长宽高? 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 问题状态 最新活动: 2019-12-18 16:45 ...
来源: Laya_社区 发布时间: 20190923