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

大约有 189 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0031 秒)

1. Sprite-根据数据绘制路径 [ 100%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_DrawPath { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.a...

来源: Laya2.0_示例 发布时间: 20241124

2. Sprite-根据数据绘制路径 [ 96%]

...ya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_DrawPath { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...

来源: Laya_示例 发布时间: 20241124

3. 加载-多种类型资源加载 [ 95%]

... laya { import Loader = Laya.Loader; import Handler = Laya.Handler; export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "../../res/skeleton/robot/robot.bin"; private ROBOT_TEXTURE_PATH: string = "../../res/skeleton/robot/texture.png"; constructor() { Laya.init(100, 100); var assets:...

来源: Laya_示例 发布时间: 20241124

4. 加载-多种类型资源加载 [ 95%]

... laya { import Loader = Laya.Loader; import Handler = Laya.Handler; export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "res/skeleton/robot/robot.bin"; private ROBOT_TEXTURE_PATH: string = "res/skeleton/robot/texture.png"; constructor() { Laya.init(100, 100); var assets: Array = [];...

来源: Laya2.0_示例 发布时间: 20241124

5. 其他引擎的Demo-Example_21 [ 94%]

...sDown = false, path = [], color = colors[0], liveGraphics, canvasGraphics; class PIXI_Example_21 { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init...

来源: Laya2.0_示例 发布时间: 20241124

6. LayaAir3D导出scene 显示 invalid path错误 [ 93%]

...ryName (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Path.cs:215) LayaExport.DataManager.saveLightMapFile (.JSONObject customProps) LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.expor...

来源: Laya_社区 发布时间: 20180510

7. Unity导出有光照贴图时,出现错误:ArgumentException: Invalid path [ 91%]

...ryName (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Path.cs:215) LayaExport.DataManager.saveLightMapFile (.JSONObject props) LayaExport.DataManager.getSceneNode () LayaExport.DataManager.saveData () LayaExport.DataManager.getData (System.String lastname)...

来源: Laya_社区 发布时间: 20181014

8. laya.utils.Utils_API3.0 [ 91%]

...ll Inherited Externals Only exported Menu Globals "laya/utils/Utils" Utils Class Utils Utils 是工具类。 Hierarchy Utils Index Methods fromStringColor getBaseName getFileExtension getGID parseInt replaceFileExtension toAngle toHexColor toRadian Methods Static fromStringColor fromStringColor(valu...

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

9. 其他引擎的Demo-Example_21 [ 90%]

...a.Sprite; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { private colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = this.color...

来源: Laya_示例 发布时间: 20241124

10. laya.d3.component.AvatarMask_API3.0 [ 90%]

...rnals Only exported Menu Globals "laya/d3/component/AvatarMask" AvatarMask Class AvatarMask 用来描述动画层遮罩 Hierarchy AvatarMask Index Constructors constructor Methods clone cloneTo getAllTranfromPath getTransformActive setTransformActive Constructors constructor new AvatarMask(): Avatar...

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