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

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

391. 设置滤镜(TypeScript-LayaAir基础篇(TS)-位图) [ 78%]

...abox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Filter&class=laya.filters.ColorFilter) 查看API说明。 ### 1.2 设置颜色滤镜 如果要给一个位图设置颜色滤镜,需要先设置一个颜色矩阵,然后用ColorFilter方法创建一个颜色滤镜实例,如下...

来源: Laya2.0_文档 发布时间: 20210715

392. laya.d3.loaders.ShaderParser_API3.0 [ 78%]

...als Only exported Menu Globals "laya/d3/loaders/ShaderParser" ShaderParser Class ShaderParser Hierarchy ShaderParser Index Methods bindCG compileToTree getCGBlock getDefaultData getMapKey getShaderBlock getShaderDataType parse Methods Static bindCG bindCG(shaderObj: IShaderObjStructor, cgmap: {}): v...

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

393. 请问,在使用插件导出包含多个动画的FBX文件时报错,怎么处理? [ 78%]

...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameO...

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

394. laya.d3.shader.ShaderVariant_API3.0 [ 78%]

...ported Menu Globals "laya/d3/shader/ShaderVariantCollection" ShaderVariant Class ShaderVariant 着色器变种。 Hierarchy ShaderVariant Index Constructors constructor Accessors defineNames passIndex shader subShaderIndex Methods clone equal setValue Constructors constructor new ShaderVariant(shade...

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

395. laya.d3.core.particleshuriken.module.GradientDataNumber_API3.0 [ 78%]

...aya/d3/core/particleShuriKen/module/GradientDataNumber" GradientDataNumber Class GradientDataNumber GradientDataNumber 类用于创建浮点渐变。 Hierarchy GradientDataNumber Implements IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo getAverageValue getKey...

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

396. laya.d3.core.render.command.BlitFrameBufferCMD_API3.0 [ 78%]

...lobals "laya/d3/core/render/command/BlitFrameBufferCMD" BlitFrameBufferCMD Class BlitFrameBufferCMD 类用于创建从渲染源输出到渲染目标的指令 Hierarchy BlitFrameBufferCMD Index Constructors constructor Accessors shaderData Methods recover run setshader create Constructors constructor...

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

397. 区块地图-带动画的地图 [ 78%]

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

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

398. laya.display.cmd.DrawTrianglesCmd_API3.0 [ 78%]

...exported Menu Globals "laya/display/cmd/DrawTrianglesCmd" DrawTrianglesCmd Class DrawTrianglesCmd 绘制三角形命令 Hierarchy DrawTrianglesCmd Index Properties alpha blendMode color indices matrix texture uvs vertices x y ID Methods getBoundPoints recover Properties alpha alpha: number Defined i...

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

399. TS版本编译后JS在HTML中顺序错乱,有最简DEMO! [ 78%]

...单的3个类,内部没有任何实现,继承关系分别为如下: class V extends Laya.Sprite {} class W extends V {} class L extends W {} 编译后的index.html中,引入顺序错误,如下:     <!--jsfile--startTag-->     <script src="js/W.js"></script>   ...

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

400. laya.components.AnimatorStateBoolCondition_API3.0 [ 78%]

...lobals "laya/components/AnimatorStateCondition" AnimatorStateBoolCondition Class AnimatorStateBoolCondition Hierarchy AnimatorStateCondition AnimatorStateBoolCondition Index Constructors constructor Accessors compareFlag id name type Methods checkState conditionIDToName conditionNameToID Constructor...

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