大约有 275 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0045 秒)
Laya_社区(75) Laya_示例(58) Laya3.0_api(37) Laya2.0_api(28) Laya2.0_示例(24) laya_api(21) Laya2.0_文档(19) Laya3.0_文档(13)
...aths.Rectangle; import laya.display.Stage; public class LayaUISample { private var skin:String = "https://layaair.ldc.layabox.co ... 3B%3B private var aniPath:String = "https://layaair.ldc.layabox.co ... 3B%3B public function L...
来源: Laya_社区 发布时间: 20180725
...frameLoop(1, null, function() { earth.transform.rotate(rotation, true); });class VRScene1 { private rotation: Laya.Vector3; 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_示例 发布时间: 20241125
官方DynamicBatchTest照做为什么动态合不了批? class DynamicBatchTest { constructor() { Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene3D()); scene.ambien...
来源: Laya_社区 发布时间: 20191112
...> </manifest> app\build.gradle app\proguard-rules.pro 添加-keep class demo.* -keep com.youme.imsdk.* -keep com.youme.imsdk.**{*;} -keep class com.youme.IMEngine.** -keep class com.youme.IMEngine.**{*;} -keep class com.iflytek.**{*;} -keepattributes Signature新建目录 “YIMChat” 建...
来源: Laya_社区 发布时间: 20170722
...型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; pri...
来源: Laya_社区 发布时间: 20180119
...DE让项目开发更高效。let mLastMouseX = 0, mLastMouseY = 0, mX, mY; class TiledMap_ScrollMap { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Event = Laya.Event, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser...
来源: Laya2.0_示例 发布时间: 20241125
...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...
来源: Laya_社区 发布时间: 20170714
...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...
来源: Laya_社区 发布时间: 20190224
....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: string = "../../res/apes/monkey2.png"; private ape: Sprite; private dragRegion: Rectangle; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Bro...
来源: Laya_示例 发布时间: 20241125
... this.mainCameraAnimation = null; this.scene = null; } Laya.class(ObjectRotate, "ObjectRotate", Laya.Script); //这是什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) { var _this = this; ObjectRotate.__super.prototype._initialize.call...
来源: Laya_社区 发布时间: 20170810