大约有 1,546 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0056 秒)
Laya_社区(545) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(64) Laya2.0_示例(2)
... this.preload(this.onPreloaded.bind(this)); } Laya.class(Test01, 'view.Test01', _super); var _proto = Test01.prototype; _proto.preload = function (complete) { console.log("preload..." + (++this.numPreloadCalls)); if (this.d...
来源: Laya_社区 发布时间: 20180622
... import GameConfig from "./GameConfig"; import ui from "./ui/layaMaxUI"; class Main { constructor(){ //初始化引擎 Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NO...
来源: Laya_社区 发布时间: 20190531
...p 06-20 19:10:18.494 5371-5371/com.ReleaseTest.Four E/MPlugin: Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport 06-20 19:10:18.528 5371-5371/com.ReleaseTest.Four W/art: Attempt to remove local handle scope entry from IRT, ignoring 06-20 19:10:18.541 5371-5371/com.ReleaseTest.Fou...
来源: Laya_社区 发布时间: 20170620
...liwenhua • 2017-03-19 18:00 呃呃,代码我用的这个 // 程序入口 class GameMain{ constructor() { //Laya.init(600,400); Laya3D.init(600,400); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; //创景场景 var scene:Laya.Scene = new Laya.Scene(); Laya.stage.addChild(scene); //创建摄像机 v...
来源: Laya_社区 发布时间: 20170319
... at Function.eof (http://127.0.0.1:53462/game/code.js:93141:69) at Class (http://127.0.0.1:53462/game/code.js:93649:37) at Type.get (http://127.0.0.1:53462/game/code.js:98613:48) at Type.create (http://127.0.0.1:53462/game/code.js:98776:20) at onAssetsLoaded (http://127.0.0...
来源: Laya_社区 发布时间: 20180302
API DocumentationAll Packages | All Classes | Index | Frames No Frames Rigidbody3DProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class Rigidbody3DInheritanceRigidbody3D PhysicsTriggerComponent PhysicsComponent Component Object Rigidbody3D 类用于创建刚体碰撞器...
来源: Laya2.0_api 发布时间: 20190513
...现一个简单的昼夜更替效果。 示例代码如下: const { regClass } = Laya; @regClass() export class DayNight extends Laya.Script { declare owner: Laya.Sprite; private lightComp: Laya.DirectionLight2D; private dayTime: number = 0; private dayDuration: number = 24; // 一个完整周期...
来源: Laya3.0_文档 发布时间: 20250214
API DocumentationAll Packages | All Classes | Index | Frames No Frames ConchVector4Properties | Methods Packagelaya.d3.math.NativeClasspublic class ConchVector4InheritanceConchVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefi...
来源: Laya2.0_api 发布时间: 20190513
...d Menu Globals "laya/d3/physicsCannon/CannonRigidbody3D" CannonRigidbody3D Class CannonRigidbody3D Rigidbody3D 类用于创建刚体碰撞器。 Hierarchy CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath TY...
来源: Laya3.0_api 发布时间: 20231102
.../ module touch { /** * 颜色工具类 */ export class ColorTool { private _targetsValue: number = 16777215; private _targetsLastValue: number = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool = null; private targetsFilter: Laya.Col...
来源: Laya_社区 发布时间: 20180930