大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0106 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
API DocumentationAll Packages | All Classes | Index | Frames No Frames LayerProperties | Methods | Constants Packagelaya.d3.coreClasspublic class LayerInheritanceLayer Object Layer 类用于实现遮罩层。 Public Properties PropertyDefined By active : Boolean 取是否激活。 Laye...
来源: laya_api 发布时间: 20170929
...际 namespace 可以这么写的;// 文件1 a.ts namespace game { export class A { } } export = game; // 文件2 b.ts namespace game { export class B { } } export = game; // 文件3 c.ts import * as game from "./a.ts" import * as game2 from ".b.ts new game.A() new game2.B() // 文件4 d.ts import ...
来源: Laya_社区 发布时间: 20181105
API DocumentationAll Packages | All Classes | Index | Frames No Frames KeyframeAnimationsProperties | Methods | Events Packagelaya.d3.component.animationClasspublic class KeyframeAnimationsInheritanceKeyframeAnimations Component3D EventDispatcher ObjectSubclasses RigidAnimations, SkinAnima...
来源: laya_api 发布时间: 20170929
...abox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Filter&class=laya.filters.ColorFilter) 查看API说明。 ### 1.2 设置颜色滤镜 如果要给一个位图设置颜色滤镜,需要先设置一个颜色矩阵,然后用ColorFilter方法创建一个颜色滤镜实例,如下...
来源: Laya2.0_文档 发布时间: 20210714
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Timer_DelayExcute { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Brow...
来源: Laya2.0_示例 发布时间: 20251219
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexBuffer3DProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexBuffer3DInheritanceVertexBuffer3D Buffer laya.resource.Resource VertexBuffer3D 类用于创建顶点缓冲。 Public Properties Hide Inher...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1SkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1SkinInheritanceVertexPositionNormalTexture0Texture1Skin ObjectImplements IVertex V...
来源: laya_api 发布时间: 20170929
....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Glow { private apePath: string = "../../res/apes/monkey2.png"; private ape: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.sta...
来源: Laya_示例 发布时间: 20251219
API DocumentationAll Packages | All Classes | Index | Frames No Frames TextStyleProperties | Methods | Constants Packagelaya.display.cssClasspublic class TextStyleInheritanceTextStyle laya.display.css.SpriteStyle 文本的样式类 Public Properties PropertyDefined By align : String ...
来源: Laya2.0_api 发布时间: 20190513
...ernals Only exported Menu Globals "laya/physics/joint/GearJoint" GearJoint Class GearJoint 齿轮关节:用来模拟两个齿轮间的约束关系,齿轮旋转时,产生的动量有两种输出方式,一种是齿轮本身的角速度,另一种是齿轮表面的线速度 Hierarchy JointBase...
来源: Laya3.0_api 发布时间: 20231115