大约有 21 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0127 秒)
精灵(Sprite)一、概述二、IDE中使用2.1 创建精灵2.2 基础属性2.3 Sprite的特有属性2.4 其它属性2.5 脚本控制属性三、代码中使用3.1 创建Sprite3.2 显示图片3.3 基础属性3.4 其它属性精灵(Sprite) 一、概述 游戏中Sprite精灵是在屏幕中能...
来源: Laya3.0_文档 发布时间: 20251010
...加了着色器的材质文件添加在2D节点上,如图2-3所示,以Sprite为例,将材质添加在Material属性上。 每一种2D组件都有Material属性。 (图2-3) 总结一下就是,Shader应用到材质上,材质再应用到2D节点上。 2.3 文件结构 在LayaAir引擎中...
来源: Laya3.0_文档 发布时间: 20251010
...| Events Packagelaya.uiClasspublic class ImageInheritanceImage Component Sprite Node EventDispatcher Object Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支...
来源: laya_api 发布时间: 20170929
... Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其...
来源: Laya2.0_api 发布时间: 20190513
... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...
来源: laya_api 发布时间: 20170929
... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolea...
来源: Laya2.0_api 发布时间: 20190513
...kagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : B...
来源: Laya2.0_api 发布时间: 20190513
...1.3 资源卸载1.4 关于滤镜、遮罩二、渲染优化方式2.1 优化Sprite2.2 优化DrawCall2.3 优化Canvas2.4 CacheAs2.5 文字描边2.6 跳过文本排版,直接渲染三、减少CPU使用量3.1 减少动态属性查找3.2 性能消耗的回收3.3 获取显示对象边界的做法3.4 根...
来源: Laya3.0_文档 发布时间: 20251010
...目标物体添加上描边 */ public AddCommandBuffet_Outline(sprite3D : Laya.Sprite3D): void{ if((sprite3D as Laya.MeshSprite3D) == null || !this.isUseOuline){ // console.log('spreite3D node meshSprite3D is null'); ...
来源: Laya_社区 发布时间: 20210203
...动画由Templet,AnimationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha...
来源: Laya3.0_api 发布时间: 20231115