大约有 1,102 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0059 秒)
Laya_社区(444) Laya3.0_api(292) Laya_示例(112) Laya2.0_示例(80) Laya2.0_文档(61) Laya3.0_文档(51) Laya2.0_api(35) laya_api(27)
...ary> protected targetDistance: number; //protected camera: Laya.Camera; constructor() { super(); } public transform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEu...
来源: Laya_社区 发布时间: 20190224
...tance ==null) { Single.instance = new Single(); } return Single.instance } constructor(){ Single.instance =new Single(); } } class Car extends Single { constructor() { super(); } } var inst = Car.GetInstance<Car>() 2018-06-21 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20180619
...通过代码PhysicsDebugDraw.enable(); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPath Accessors allowRotation allowSleep angularDamping angularVelocity awaked body bullet destroyed enabled gravityScale ...
来源: Laya3.0_api 发布时间: 20231115
... 平移距离 private translate: Laya.Vector3 = new Laya.Vector3(1, 1, 1); constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { // 平移cube this.cube.transform.translate(this.translate, false); } }...
来源: Laya3.0_文档 发布时间: 20240910
...es/untitled.png"; private img: Laya.Sprite; private flag: boolean = false; constructor() { Laya.init(1000,800); this.img = new Laya.Sprite; this.img.loadImage(this.plane1); Laya.stage.addChild(this.img); this.img.graphics.clear(); this.img.loadImage(this.plane2); Laya.stage.addChild(this.img) } } ne...
来源: Laya_社区 发布时间: 20180406
...lass Shader3D Shader3D 类用于创建Shader3D。 Hierarchy Shader3D Index Constructors constructor Properties PERIOD_CAMERA PERIOD_CUSTOM PERIOD_MATERIAL PERIOD_SCENE PERIOD_SPRITE RENDER_STATE_BLEND RENDER_STATE_BLEND_CONST_COLOR RENDER_STATE_BLEND_DST RENDER_STATE_BLEND_DST_ALPHA RENDER_STATE_BLE...
来源: Laya3.0_api 发布时间: 20231102
... } else { var defaultValue = new property.constructor(); property.cloneTo(defaultValue); keyframeNodeOwner.defaultValue = defaultValue; keyframeNodeOwner.value = new property.co...
来源: Laya_社区 发布时间: 20240517
...隔。 see laya.net.Loader Hierarchy EventDispatcher LoaderManager Index Constructors constructor Properties maxLoader retryDelay retryNum Methods cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearResByGroup clearTextureRes clearUnLoaded create decodeBitmaps event getRes hasListener load off o...
来源: Laya3.0_api 发布时间: 20231102
...er CommandBuffer 类用于创建命令流。 Hierarchy CommandBuffer Index Constructors constructor Accessors casterShadow context name Methods _apply _applyOne addCustomCMD blitScreenQuad blitScreenQuadByMaterial blitScreenTriangle clearRenderTarget drawMesh drawMeshInstance drawRender getCommandsS...
来源: Laya3.0_api 发布时间: 20231115
...误 Cannot read property 'displayObject' of null Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 关于graphics.drawTexture方法设置纹理报错TypeError: te...
来源: Laya_社区 发布时间: 20200309