大约有 210 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
... export class TextAreaControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextArea } ) public txtarea: Laya.TextArea; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake():...
来源: Laya3.0_文档 发布时间: 20251010
...r cylinderMesh:CylinderMesh=new CylinderMesh(0.05,2,8); var cylinder3D:MeshSprite3D=new MeshSprite3D(cylinderMesh); cylinder3D.transform.translate(new Vector3(3,0,0),true); cylinder3D.transform.localScale = new Vector3(2,2,2); cylinder3D.transform.localRotationEuler = new Vector3(90,90,90); role.get...
来源: Laya_社区 发布时间: 20170904
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 有什么容器能够实现当子元素达到显示上限后自动滚...
来源: Laya_社区 发布时间: 20151124
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? ios14系统下 blendMode='lighter' ...
来源: Laya_社区 发布时间: 20180718
...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement...
来源: Laya_社区 发布时间: 20181212
...相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 缓动Tween能用在3D物体或者特效上面吗? 图片不能按轴心旋转 【BUG备忘录】关于Tween动画无法正常作用问题-解决...
来源: Laya_社区 发布时间: 20170829
...i < this._spriteNums; i++) { let sprite = ownerSprite.addChild(new Laya.Sprite3D()); let filter = sprite.addComponent(Laya.MeshFilter); let render = sprite.addComponent(Laya.MeshRenderer); // 设置相同的材质与网格 filter.sharedMesh = mesh; render.sharedMaterial = this.batchMat; //随机...
来源: Laya3.0_文档 发布时间: 20251010
...赏解答 laya 3D碰撞器与 Unity 不一致问题 box2d 的碰撞检测 sprite3D可以设置碰撞体吗 编辑器错位了 关于2D物理碰撞无法触发OnTriggerEnter、OnTriggerStay、OnTriggerExit的bug 问题状态 最新活动: 2018-07-05 11:22 浏览: 1002 关注: 3 人 FAITH • 2018-07-...
来源: Laya_社区 发布时间: 20180704
...export class TextInputControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextInput } ) public txtin: Laya.TextInput; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake():...
来源: Laya3.0_文档 发布时间: 20251010
...Sprite时,不能将3D节点作为其属性值。当设置为3D节点Laya.Sprite3D时,不能将2D节点作为其属性值。 4.1.1 2D节点的使用 首先,如动图4-1所示,将场景中已经添加好的2D节点Sprite拖入到@property暴露的属性入口中,这样就获取到了此节...
来源: Laya3.0_文档 发布时间: 20251010