• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 640 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0204 秒)

571. 模拟石头下落过程不明抖动 [ 45%]

...下来观察看看,下面贴上代码import './aui/aui'; import { Game } from './public/Game'; import Stage = Laya.Stage; export class TexasMain{ private balls:Laya.Sprite = ; constructor(){ Config.isAntialias = true // alert("宽"+Laya.Browser.clientWidth+"高"+Laya.Browser.clientHeight ); // Laya....

来源: Laya_社区 发布时间: 20180226

572. 刚刚接触2天layaair,有几个问题请教。 [ 45%]

...s项目里面src就有Main.js格式完全和教程不同 import GameConfig from "./GameConfig"; class Main { constructor() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); La...

来源: Laya_社区 发布时间: 20181027

573. 2D粒子渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...域。粒子会向四面八方发射。 Radius:圆形的半径。 Emit From Edge:从边缘发射。启用此属性后粒子只会在圆的半径处发射。 Random Dirction:随机方向。未启用此属性时,粒子的速度方向为圆心到粒子生成位置的向量;启用此属性后...

来源: Laya3.0_文档 发布时间: 20251010

574. 2.0下资源加载和销毁内存问题 [ 45%]

...页代码如下:   //2.0版本区别为这里需要先import bitmapimg from "./script/bitmapimg "; private flag:boolean = false;     private bt:bitmapimg;     private oldurl:string="" /**此处省略btn创建*/ private onClick():void     { if(this.flag==false){            ...

来源: Laya_社区 发布时间: 20181201

575. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 45%]

...接 提交 3 个回复 157*****593 赞同来自: 加上这个import {ui} from "./ui/layaMaxUI"; 2021-01-11 0 0 分享 微博 QZONE 微信 孙全 赞同来自: 加了以后在layaMaxUI.js里面又报错了 这是layaMaxUI.js/**This class is automatically generated by LayaAirIDE, please do not make an...

来源: Laya_社区 发布时间: 20210111

576. LayaBox进阶之UI管理类 [ 44%]

...的场景被加载时,都会执行这些方法,   import { LogUtil } from "../util/LogUtil";  /** * 为基类定义若干方法 */ export class PatchManager{} (function(){ let _proto:any;  _proto = Laya.Scene.prototype; _proto.createView = function(view:Object){ if (view && !this._vie...

来源: Laya_社区 发布时间: 20190222

577. Unity粒子系统导出支持列表(TypeScript-3D基础(TS)-LayaAir3D之Unity插件使用) [ 44%]

...tion - Box ![Shape Box](./img/Particle_System/ShapeModule_Box.png) 1. Emit from - Volume 2. scale 3. Randomize Direction - Circle ![Shape Circle](img/Particle_System/ShapeModule_Circle.png) 1. Radius 2. Radius Thickness 数值只支持 ` 0 ` / ` 1 ` 两种数值 3. Arc 数值只支持 ` 0 ` / ` 360 ...

来源: Laya2.0_文档 发布时间: 20200822

578. laya.filters.ColorFilter_API3.0 [ 44%]

...e, sprite: Sprite, context: Context, x: number, y: number): void Inherited from BlurFilter._filter Defined in laya/filters/Filter.ts:38 Parameters this: RenderSprite sprite: Sprite context: Context x: number y: number Returns void Globals "laya/filters/ColorFilter" ColorFilter constructor _matrix ad...

来源: Laya3.0_api 发布时间: 20231115

579. iOS 接入微信登录,配置了"Other Linker Flags"中加入"-Objc -all_load"后编译不通过 [ 43%]

...chitecture i386: "_zip_file_set_external_attributes", referenced from: _zip_dir_add in libconch.a(zip_dir_add.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) helloworldlv • 2018-05-24 10:55 但运行后执...

来源: Laya_社区 发布时间: 20180522

580. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 42%]

...icating whether to draw the render rectangle. When true, it starts drawing from (0,0) of the render texture and subtracts the offset of the cache rectangle. When false, it keeps the sprite's original relative position for drawing. * @param flipY Optional. If true, the texture will be flipped vertica...

来源: Laya_社区 发布时间: 20250827