大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0080 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...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
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
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
...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
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
...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_示例 发布时间: 20250223
...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_示例 发布时间: 20250223
...!'; } 一个是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
...开发更高效。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_示例 发布时间: 20250223
API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewportProperties | Methods Packagelaya.d3.mathClasspublic class ViewportInheritanceViewport Object Viewport 类用于创建视口。 Public Properties PropertyDefined By height : Number高度Viewport maxDepth : ...
来源: laya_api 发布时间: 20170929