大约有 275 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0037 秒)
Laya_社区(75) Laya_示例(58) Laya3.0_api(37) Laya2.0_api(28) Laya2.0_示例(24) laya_api(21) Laya2.0_文档(19) Laya3.0_文档(13)
...Aaron 赞同来自: https://layaair.ldc.layabox.com/api/?category=Core&class=laya.d3.math.Quaternion 这个是四元数api 2018-02-25 0 0 分享 微博 QZONE 微信 骉 赞同来自: 楼主有什么发现?一个左手坐标系、一个右手坐标系,怎么转化? 2018-08-02 0 0 分享...
来源: Laya_社区 发布时间: 20180224
...目。代码如下: ```java package { import laya.display.Sprite; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var s...
来源: Laya2.0_文档 发布时间: 20210715
...ad("../../res/threeDimen/skyBox/skyBox2/skyCube.ltc"); camera.sky = skyBox;class SceneLoad { 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...
来源: Laya_示例 发布时间: 20241125
...aths.Rectangle; import laya.utils.Browser; import laya.webgl.WebGL; public class TiledMapDemo { private var tMap:TiledMap; public function TiledMapDemo() { //初始化舞台 Laya.init(Browser.width, Browser.height, WebGL); //创建TiledMap实例 tMap = new TiledMap(); //创建Rectangle实例,视...
来源: Laya2.0_文档 发布时间: 20210714
...Stat; import Rectangle = Laya.Rectangle; import WebGL = Laya.WebGL; export class PerformanceTest_Maggots { private texturePath:string = "../../res/tinyMaggot.png"; private padding:number = 100; private maggotAmount:number = 5000; private tick:number = 0; private maggots:Array = []; private wrapBound...
来源: Laya_示例 发布时间: 20241125
...xture = Laya.Texture2D.load("../../res/threeDimen/env/sp_default/env.png");class SkyDomeSample { 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(new La...
来源: Laya_示例 发布时间: 20241125
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Tumbler { constructor() { this.count = 0; this.totalBox = 200; Laya.Config.isAntialias = true; Laya.Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); Laya.Stat.show(); Laya.Phys...
来源: Laya2.0_示例 发布时间: 20241125
...on, _quaternion, _position); pointLight.transform.position = _position; });class PointLightDemo { private scene: Laya.Scene; private _position: Laya.Vector3; private _quaternion: Laya.Quaternion; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screen...
来源: Laya_示例 发布时间: 20241125
...ted All Inherited Externals Only exported Menu Globals "Config3D" Config3D Class Config3D Config3D 类用于创建3D初始化配置。 Hierarchy Config3D Index Properties BVH_Min_Build_nums BVH_limit_size BVH_max_SpatialCount customResolution debugFrustumCulling defaultCacheRTMemory defaultPhysicsMe...
来源: Laya3.0_api 发布时间: 20231115
...= Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox1/skyCube.ltc");class SkyBoxSample { 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(new Lay...
来源: Laya_示例 发布时间: 20241125