大约有 1,732 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0085 秒)
Laya_社区(615) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya2.0_api(67) laya_api(64) Laya3.0_文档(62)
...() { function Hero(type, hp) { Hero.__super.call(this); this.fly(); } Laya.class(Hero,"Hero", Air); var _proto = Hero.prototype; _proto.fly = function() { this.playAction("fly") } })(); air类: (function() { function Air(type, hp) { this.hp = hp; this.type = type; this.body = null; Air.__super.cal...
来源: Laya_社区 发布时间: 20180911
...加的内容: 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
...ly exported Menu Globals "laya/d3/animation/AnimationEvent" AnimationEvent Class AnimationEvent AnimationEvent 类用于实现动画事件。 Hierarchy AnimationEvent Index Constructors constructor Properties eventName params time Constructors constructor new AnimationEvent(): AnimationEvent Defined...
来源: Laya3.0_api 发布时间: 20231115
... this, function () { layaMonkey.transform.rotate(this.rotation, false); });class BlinnPhongMaterialLoad { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NON...
来源: Laya_示例 发布时间: 20241002
...分的代码,ios和android小程序都能正常显示。 代码如下: class Particle { constructor() { Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene3D = Laya.stage.addChild( new Laya.Scene...
来源: Laya_社区 发布时间: 20220721
...s Only exported Menu Globals "laya/html/HtmlParseOptions" HtmlParseOptions Class HtmlParseOptions Hierarchy HtmlParseOptions Index Constructors constructor Properties ignoreWhiteSpace linkColor linkUnderline defaultLinkColor defaultLinkUnderline Constructors constructor new HtmlParseOptions(): HtmlP...
来源: Laya3.0_api 发布时间: 20231115
...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
...xternals Only exported Menu Globals "laya/d3/shader/ShaderPass" ShaderPass Class ShaderPass ShaderPass 类用于实现ShaderPass。 Hierarchy ShaderCompileDefineBase ShaderPass Index Constructors constructor Properties statefirst Accessors renderState Constructors constructor new ShaderPass(owner: S...
来源: Laya3.0_api 发布时间: 20231102
....Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Laya3DCombineHtml { constructor() { var div = Laya.Browser.window.document.createElement("div"); div.innerHTML = "此内容来源于HTML网页, 可直接在html代码中书写 - h1标签"; document.body.appendChild(div)...
来源: Laya_示例 发布时间: 20241002
...aya/d3/component/staticmesh/StaticMeshBatchManager" StaticMeshBatchManager Class StaticMeshBatchManager Hierarchy StaticMeshBatchManager Index Constructors constructor Methods combine merge Constructors constructor new StaticMeshBatchManager(): StaticMeshBatchManager Defined in laya/d3/component/sta...
来源: Laya3.0_api 发布时间: 20231102