• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,763 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)

311. laya.d3.renderobjs.nativeobj.NativeCommandUniformMap_API3.0 [ 75%]

...a/d3/RenderObjs/NativeOBJ/NativeCommandUniformMap" NativeCommandUniformMap Class NativeCommandUniformMap Hierarchy CommandUniformMap NativeCommandUniformMap Index Constructors constructor Properties _stateName Methods getMap hasPtrID Constructors constructor new NativeCommandUniformMap(_nativeObj: a...

来源: Laya3.0_api 发布时间: 20231115

312. 区块地图-等角地图 [ 75%]

...ectangle; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class TiledMap_IsometricWorld { private tiledMap: TiledMap; private layer: MapLayer; private sprite: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1600, 800, WebGL); Laya.stage.alignV = Stage.ALI...

来源: Laya_示例 发布时间: 20251130

313. as3数组push进去对象,为什么对象的属性没了 [ 75%]

...享 微博 QZONE 微信 wudi199553 赞同来自: package {     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640);                          var a:TestData = new Te...

来源: Laya_社区 发布时间: 20171215

314. Sprite-轴心点 [ 75%]

...ya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Pivot { private sp1: Sprite; private sp2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Lay...

来源: Laya_示例 发布时间: 20251130

315. laya.d3.core.Keyframe_API3.0 [ 75%]

...ited Externals Only exported Menu Globals "laya/d3/core/Keyframe" Keyframe Class Keyframe KeyFrame 类用于创建关键帧实例。 Hierarchy Keyframe FloatKeyframe QuaternionKeyframe Vector3Keyframe Vector2Keyframe Vector4Keyframe Implements IClone Index Constructors constructor Properties time de...

来源: Laya3.0_api 发布时间: 20231115

316. BackGround.super(this);这个报错 Cannot read property 'call' of undefined [ 75%]

...te; this.bg.loaImage("war/beijing.png"); this.addchild(this.bg);  }; Laya.class(BackGround,"BackGround",_super) return BackGround; })(Laya.sprite); BackGround.super(this);这个报错 Cannot read property 'call' of undefined 2018-01-10 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 该问...

来源: Laya_社区 发布时间: 20180110

317. 加载-单一类型资源加载 [ 75%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Loader_SingleType { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth...

来源: Laya2.0_示例 发布时间: 20251130

318. 输入设备-摇一摇 [ 75%]

....Browser; import Handler = Laya.Handler; import Event = Laya.Event; export class InputDevice_Shake { private picW:number = 484; private picH:number = 484; private console:Text; private shakeCount:number = 0; constructor() { Laya.init(this.picW, Browser.height * this.picW / Browser.width); Laya.stage...

来源: Laya_示例 发布时间: 20251130

319. laya.d3.math.Plane_API3.0 [ 75%]

... Inherited Externals Only exported Menu Globals "laya/d3/math/Plane" Plane Class Plane 平面。 Hierarchy Plane Index Constructors constructor Properties PlaneIntersectionType_Back PlaneIntersectionType_Front PlaneIntersectionType_Intersecting Accessors distance normal Methods clone cloneTo normali...

来源: Laya3.0_api 发布时间: 20231115

320. 3D中摄像机绕物体旋转该如何实现? [ 75%]

...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