大约有 640 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0204 秒)
Laya3.0_api(295) Laya_社区(269) Laya2.0_文档(32) Laya3.0_文档(30) Laya2.0_示例(5) Laya2.0_api(5) laya_api(2) Laya_示例(2)
...下来观察看看,下面贴上代码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
...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
...域。粒子会向四面八方发射。 Radius:圆形的半径。 Emit From Edge:从边缘发射。启用此属性后粒子只会在圆的半径处发射。 Random Dirction:随机方向。未启用此属性时,粒子的速度方向为圆心到粒子生成位置的向量;启用此属性后...
来源: Laya3.0_文档 发布时间: 20251010
...页代码如下: //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
...接 提交 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
...的场景被加载时,都会执行这些方法, 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
...tion - Box  1. Emit from - Volume 2. scale 3. Randomize Direction - Circle  1. Radius 2. Radius Thickness 数值只支持 ` 0 ` / ` 1 ` 两种数值 3. Arc 数值只支持 ` 0 ` / ` 360 ...
来源: Laya2.0_文档 发布时间: 20200822
...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
...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
...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