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

大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0071 秒)

1271. laya.d3.core.Layer [ 65%]

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

1272. laya 2.0 可以支持 typescript namespace 吗 [ 65%]

...际 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

1273. laya.d3.component.animation.KeyframeAnimations [ 65%]

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

1274. 设置滤镜(JavaScript-LayaAir基础篇(JS)-位图) [ 65%]

...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

1275. 计时器-延迟执行 [ 65%]

...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

1276. laya.d3.graphics.VertexBuffer3D [ 65%]

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

1277. laya.d3.graphics.VertexPositionNormalTexture0Texture1Skin [ 65%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1SkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1SkinInheritanceVertexPositionNormalTexture0Texture1Skin ObjectImplements IVertex V...

来源: laya_api 发布时间: 20170929

1278. 滤镜-发光滤镜 [ 65%]

....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

1279. laya.display.css.TextStyle [ 65%]

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

1280. laya.physics.joint.GearJoint_API3.0 [ 65%]

...ernals Only exported Menu Globals "laya/physics/joint/GearJoint" GearJoint Class GearJoint 齿轮关节:用来模拟两个齿轮间的约束关系,齿轮旋转时,产生的动量有两种输出方式,一种是齿轮本身的角速度,另一种是齿轮表面的线速度 Hierarchy JointBase...

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