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

大约有 2,982 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0062 秒)

1051. LayaAir3D导出scene 显示 invalid path错误 [ 68%]

...ryName (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Path.cs:215) LayaExport.DataManager.saveLightMapFile (.JSONObject customProps) LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.expor...

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

1052. 关于分包的问题,是否是编译器bug? [ 68%]

...dow,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; })(window,document,Laya); 如果代码中这样写: var module:Module =new modules.LoginModule(); module.run(); 编译后login.js是正常的,里面各个类...

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

1053. laya.physics.ChainCollider [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ChainColliderProperties | Methods Packagelaya.physicsClasspublic class ChainColliderInheritanceChainCollider ColliderBase Component Object 2D线形碰撞体 Public Properties Hide Inherited Public Properties Show Inherit...

来源: Laya2.0_api 发布时间: 20190513

1054. laya.d3.math.BoundSphere [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundSphereProperties | Methods Packagelaya.d3.mathClasspublic class BoundSphereInheritanceBoundSphere ObjectImplements laya.d3.core.IClone BoundSphere 类用于创建包围球。 Public Properties PropertyDefined By ...

来源: Laya2.0_api 发布时间: 20190513

1055. laya.d3.renderobjs.nativeobj.NativeIndexBuffer3D_API3.0 [ 68%]

...als "laya/d3/RenderObjs/NativeOBJ/NativeIndexBuffer3D" NativeIndexBuffer3D Class NativeIndexBuffer3D Hierarchy IndexBuffer3D NativeIndexBuffer3D Index Constructors constructor Properties _buffer _bufferType _bufferUsage _byteLength _conchIndexBuffer3D _glBuffer Accessors bufferUsage canRead indexCou...

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

1056. laya.d3.component.AttachPoint [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AttachPointProperties | Methods | Events Packagelaya.d3.componentClasspublic class AttachPointInheritanceAttachPoint Component3D EventDispatcher Object AttachPoint 类用于创建挂点组件。 Public Properties Hide I...

来源: laya_api 发布时间: 20170929

1057. 屏幕适配-自动横屏 [ 68%]

...e = Laya.Stage; import Text = Laya.Text; import WebGL = Laya.WebGL; export class SmartScale_Landscape { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showal...

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

1058. 屏幕适配-自动竖屏 [ 68%]

...e = Laya.Stage; import Text = Laya.Text; import WebGL = Laya.WebGL; export class SmartScale_Portrait { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall...

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

1059. Laya ts版,使用jasmine进行单元测试 [ 68%]

...!'; } 一个是src/Library/ToolService.ts, 内容为module Library{ export class ToolService{ constructor(){ } public static sum(a:number, b:number):number { return a + b; } } }   一个是 src/Library/UserService.ts, 内容为module Library{ export class UserService{ constructor(){ } public multip...

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

1060. 鼠标交互-拖动 [ 68%]

...开发更高效。const ApePath = "res/apes/monkey2.png"; let dragRegion; class Interaction_Drag { 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_示例 发布时间: 20241001