大约有 973 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0155 秒)
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/component...
来源: Laya3.0_api 发布时间: 20231115
...和UI点击穿透的问题 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 问题状态 最新活动: 2016-12-1...
来源: Laya_社区 发布时间: 20161214
...法,现在分享个用laya图集做位图文本的方法。 资源名的获取方式,可以根据实际情况修改。有需要的可以参考下/* * 位图字体; */ class BPFont extends Laya.Sprite { // 文本内容 private _text: string; // 水平排列方式 private _align: string; // 资源...
来源: Laya_社区 发布时间: 20180302
...,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 Opaque:默认设置,适用于没有透明区域的普通实体对象。 Cutout:允许创建在不透明和透明区域之间具有硬边的透...
来源: Laya3.0_文档 发布时间: 20251010
...,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 Opaque:默认设置,适用于没有透明区域的普通实体对象。 Cutout:允许创建在不透明和透明区域之间具有硬边的透...
来源: Laya3.0_文档 发布时间: 20250104
...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
...(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
... 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
...灵显示到舞台 * * <p>也可以获取原始图片数据,分享到网上,从而实现截图效果,示例:</p> * * var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上...
来源: Laya_社区 发布时间: 20180719