大约有 3,031 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0078 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(108)
...a.Loader; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Animation_Altas { private AniConfPath: string = "../../res/fighter/fighter.json"; constructor() { // 不支持eWebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV...
来源: Laya_示例 发布时间: 20251209
...isplay.Stage; import laya.webgl.WebGL; public class Sprite_DrawShapes { private var sp:Sprite; public function Sprite_DrawShapes() { Laya.init(500, 300, WebGL); ...
来源: Laya2.0_文档 发布时间: 20210714
...on(小明) */ import laya.display.Text; public class HelloLayabox { public function HelloLayabox() { //创建舞台,默认背景色是黑色的 Laya.init(600, 300); ...
来源: Laya2.0_文档 发布时间: 20210715
...u Globals "laya/d3/core/particleShuriKen/module/GradientSize" GradientSize Class GradientSize GradientSize 类用于创建渐变尺寸。 Hierarchy GradientSize Implements IClone Index Constructors constructor Accessors constantMax constantMaxSeparate constantMin constantMinSeparate gradient gradien...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderTextureProperties | Methods Packagelaya.d3.resourceClasspublic class RenderTextureInheritanceRenderTexture BaseTexture laya.resource.Resource RenderTarget 类用于创建渲染目标。 Public Properties Hide Inher...
来源: laya_api 发布时间: 20170929
...ethod {"v":"java.lang.NoSuchMethodException: demo.JSBridge.testString: [class java.lang.String]"} demo.JSBridge testString: 在js那边的代码 为: _doTestCallJava(){ let os = null let bridge = null if(typeof conchConfig != "undefined"){ os = conchConfig.getOS() } if (os == "Conch-ios")...
来源: Laya_社区 发布时间: 20211111
...用启动类的静态函数失败了 这是我的启动类 // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.stage.bgColor = "#123456"; Laya.loader.load([ { url: "res/beijing/beijing2.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.png", type: Laya.Loader.IMAGE }, { ...
来源: Laya_社区 发布时间: 20180507
API DocumentationAll Packages | All Classes | Index | Frames No Frames RevoluteJointProperties | Methods Packagelaya.physics.jointClasspublic class RevoluteJointInheritanceRevoluteJoint JointBase Component Object 旋转关节强制两个物体共享一个锚点,两个物体相对旋转 Pu...
来源: Laya2.0_api 发布时间: 20190513
...rted Menu Globals "laya/d3/core/render/PostEffect/BloomEffect" BloomEffect Class BloomEffect BloomEffect 类用于创建泛光效果。 Hierarchy PostProcessEffect BloomEffect Index Constructors constructor Accessors active anamorphicRatio clamp color diffusion dirtIntensity dirtTexture fastMode int...
来源: Laya3.0_api 发布时间: 20231115
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Tween_TimeLine { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya...
来源: Laya2.0_示例 发布时间: 20251209