大约有 1,448 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0043 秒)
Laya3.0_api(470) Laya_社区(446) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...:uint):voidseedsproperty public var seeds:Uint32Array获取随机种子。Constructor DetailRand()Constructorpublic function Rand(seed:uint) 创建一个 Rand 实例。 Parameters seed:uint — 32位无符号整型随机种子。 Method DetailgetByteFromInt()method public static function getByteFro...
来源: Laya2.0_api 发布时间: 20190513
...yName("Camera"); camera.addComponent(CameraMoveScript); });class PBRDemo { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(Laya.Scene.load("../../res/t...
来源: Laya_示例 发布时间: 20250313
...irIDE让项目开发更高效。let socket, output; class Network_Socket { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.s...
来源: Laya2.0_示例 发布时间: 20250313
...ctingproperty public static var PlaneIntersectionType_Intersecting:int = 2Constructor DetailPlane()Constructorpublic function Plane(normal:Vector3, d:Number = 0) 创建一个 Plane 实例。 Parameters normal:Vector3 — 平面的向量 d:Number (default = 0) — 平面到原点的距离 Method D...
来源: laya_api 发布时间: 20170929
...ctingproperty public static var PlaneIntersectionType_Intersecting:int = 2Constructor DetailPlane()Constructorpublic function Plane(normal:Vector3, d:Number = 0) 创建一个 Plane 实例。 Parameters normal:Vector3 — 平面的向量 d:Number (default = 0) — 平面到原点的距离 Method D...
来源: Laya2.0_api 发布时间: 20190513
...Laya.Stage; export class SmartScale_Scale_SHOW_ALL { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite(); this.rect.graphics.dra...
来源: Laya_示例 发布时间: 20250313
...a.Stage; export class SmartScale_Scale_EXTRACT_FIT { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralRect(): void { this.rect = new Sprite(); this.rect.graphics.dr...
来源: Laya_示例 发布时间: 20250313
...是降到es5以后又会其他地方报错: Uncaught TypeError: Class constructor Scene cannot be invoked without 'new' 现在这个问题有办法解决吗? 2019-10-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2...
来源: Laya_社区 发布时间: 20191002
...mationNodeProperty Detailnamepropertypublic var name:String节点名称。 Constructor DetailAnimationNode()Constructorpublic function AnimationNode(localPosition:Float32Array = null, localRotation:Float32Array = null, localScale:Float32Array = null, worldMatrix:Float32Array = null) 创建一个新...
来源: Laya2.0_api 发布时间: 20190513
...8 14:08 就新建项目 这是所有代码 // 程序入口 class GameMain{ constructor() { Laya.init(750,1334,Laya.WebGL); Laya.stage.bgColor="#FFFFFF"; Laya.stage.scaleMode = "showall"; //不缩放 fixedauto showall Laya.stage.alignH = "center"; //水平居中 Laya.sta...
来源: Laya_社区 发布时间: 20171128