大约有 2,610 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0090 秒)
Laya_社区(2270) Laya2.0_文档(96) Laya3.0_api(80) Laya2.0_api(74) Laya3.0_文档(58) laya_api(23) Laya_示例(7) Laya2.0_示例(2)
...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
...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
...-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
...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
属于Laya3D.Sprite类型的对象克隆之后,只要在主摄像头视线外,就会消失 创建了属于Laya3D.Sprite类型的对象A,然后克隆A对象得出对象B,然后给对象B添加一个跟随脚本(跟随主角),然后场景上还有一个主角跟一个主摄像头,...
来源: Laya_社区 发布时间: 20190726
... 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
可以为线条设置hit(碰撞)区域吗? var sp:Sprite = new Sprite();sp.graphics.clear(); sp.graphics.drawRect(0, 0, 100,100,"#ff0000" ); var hit:HitArea = new HitArea(); hit.hit = sp.graphics; sp.hitArea = hit; 使用上面的方法可以给有填充 sp 添加触发区域! 但是如...
来源: Laya_社区 发布时间: 20161216
...3-27 0 1 分享 微博 QZONE 微信 颜颜粑粑 赞同来自: var particleSprite3D:Sprite3D = scene.addChild(Sprite3D.load("...")) as Sprite3D; particleSprite3D.transform.position = new Laya.Vector3(100,0,0); 这样写 无法移动例子效果? 2018-05-09 0 6 分享 微博 QZONE 微信 绝地...
来源: Laya_社区 发布时间: 20161219
... Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager, WXOpenDataViewer Component 是ui控件类的基类。 生命周期:preinitiali...
来源: Laya2.0_api 发布时间: 20190513