大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0076 秒)
Laya_社区(1043) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(76)
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
...js,这样导致程序初始化报错了。 子类是这样写的 export class LayaHelper<V extends LayaView<IModel>> extends BasicHelper<LayaView<IModel>> 这样LayaHelper的js文件就在比较前面插入了,而BasicHelper.js就在后面插入了 我改成export class L...
来源: Laya_社区 发布时间: 20170208
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
...ithShaderDefine(73 - Laya.ShaderCompile3D.SHADERDEFINE_HIGHPRECISION,4,20);class ShaderPrecompile { constructor() { Laya3D.init(0, 0, true); //开启Shader编译调试模式,可在输出宏定义编译值。 Laya.ShaderCompile3D.debugMode = true; var sc: Laya.ShaderCompile3D = Laya.ShaderCompile3D...
来源: Laya_示例 发布时间: 20241002
...ya.events.Event; import laya.webgl.WebGL; /** * ... * @author ww */ public class SkeletonTempletSample { public var templet:Templet; public function SkeletonTempletSample() { WebGL.enable(); Laya.init(1000, 900); //创建动画模板 templet = new Templet(); templet.on(Event.COMPLETE, this, parseCom...
来源: Laya2.0_文档 发布时间: 20210715
...加的内容: 1. 可绑定内容的骨骼动画 export default class BindSkeleton extends Laya.Skeleton { private __bindList:BindSource[]; constructor(){ super(); this.__bindList=[]; } /** * 绑定 * @param source */ bind(source:BindSource):void{ let index:number=this.__bindList.i...
来源: Laya_社区 发布时间: 20190805
...用请参考 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.ViewStack](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ViewStack)。 ## 2、通过LayaAirIDE创建ViewStack组件 ### 2.1 创建ViewStack页面 ##...
来源: Laya2.0_文档 发布时间: 20210715
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
...,有没有遇到的? 子域所有代码 (function () { 'use strict'; class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none"; GameConfig.al...
来源: Laya_社区 发布时间: 20200104
...ya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_MaxChars { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya...
来源: Laya_示例 发布时间: 20241002