大约有 2,578 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0094 秒)
Laya_社区(2253) Laya2.0_文档(96) Laya3.0_api(80) Laya2.0_api(74) Laya3.0_文档(43) laya_api(23) Laya_示例(7) Laya2.0_示例(2)
...示对象,我看3d的addChild源码 if (!((node instanceof laya.d3.core.Sprite3D ))) throw new Error("Sprite3D:Node type must Sprite3D."); 是不支持的,请问有其他方式么? 麟。 • 2018-09-12 18:44 我的目的是想2d的ui可以有3d的坐标系Transform3D FullyI • 2019...
来源: Laya_社区 发布时间: 20180912
...Packagelaya.displayClasspublic class AnimationBaseInheritanceAnimationBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可以继承此类,但不要直接实例化此类,因为有...
来源: Laya2.0_api 发布时间: 20190513
... Packagelaya.uiClasspublic class RadioInheritanceRadio Button UIComponent Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当...
来源: Laya2.0_api 发布时间: 20190513
...关问题 缓动Tween能用在3D物体或者特效上面吗? 如何设置Sprite的宽高和点击区域? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 做好的粒子特效在U3D里循环正常。在LAYA插件里预览跳帧闪烁。序...
来源: Laya_社区 发布时间: 20170628
... Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其...
来源: Laya2.0_api 发布时间: 20190513
...ckagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应...
来源: Laya2.0_api 发布时间: 20190513
...我们可以通过它们来获取模型上的材质。 **Tips**:MeshSprite3D模型中为meshRenderer,SkinnedMeshSprite3D模型中为skinnedMeshRenderer。 ###### 这两个类多是一些继承自'父类'的共有的接口,可以查看'父类' **BaseRenderer** 的API([API地址](https://l...
来源: Laya2.0_文档 发布时间: 20210715
...-22 0 2 分享 微博 QZONE 微信 mrchenx 赞同来自: var _parent = new Sprite(); _parent.graphics.drawRect(0, 0, 500, 500, '#ff0000'); Laya.stage.addChild(_parent); var _child = new Sprite(); _child.graphics.drawRect(0, 0, 50, 50, '#336699'); _parent.addChild(_child);就像上面那样,我需...
来源: Laya_社区 发布时间: 20170222
...kagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...
来源: Laya2.0_api 发布时间: 20190513
...static function OnCreateComplete1():void{ trace("complete load role"); var sprite3D:Sprite3D = Laya.loader.getRes("laya_assert/LayaScene_role/role.lh"); mainScene.addChild(sprite3D); } 上面是我加载的代码。mainScene是我缓存的scene变量。 附件 : --> 2018-11-17 添加评论 免费帖...
来源: Laya_社区 发布时间: 20181117