大约有 738 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0059 秒)
Laya_社区(538) Laya3.0_api(50) Laya3.0_文档(45) Laya2.0_api(40) Laya2.0_文档(39) laya_api(25) Laya_示例(1)
...叠 要回复问题请先登录 发起人 Yangcy 相关问题 如何设置Sprite的宽高和点击区域? btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的...
来源: Laya_社区 发布时间: 20180408
...颜色是绿色,我想换成其他颜色,如何操作? 如何设置Sprite的宽高和点击区域? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 使用钢体设置防穿后仍有几率会穿透 anchor锚点设置不生效 问题状态 最新活...
来源: Laya_社区 发布时间: 20190329
...命!canvas定位后 点击区域偏移,求大大们解答 如何设置Sprite的宽高和点击区域? 关于使用matterjs物理引擎鼠标问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 关于遍历产生的sprite的点击事件,急,...
来源: Laya_社区 发布时间: 20200506
...gelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自...
来源: laya_api 发布时间: 20170929
...例([demo地址]())。 ```typescript var material:BlinnPhongMaterial = meshSprite3D.meshRenderer.material as BlinnPhongMaterial; //法线贴图 Texture2D.load(normalMapUrl[i], Handler.create(this, function(texture:Texture2D):void { //设置发现贴图 material.normalTexture = texture; })); ``` ; sp.graphics.save(); var matrix:Matrix=new Matrix(); matrix.rotate(45); matrix.translate(100,100); sp.graphics.transform(matrix); sp.graphics.drawRect(0,0,200,100,"#FF0000"); sp.graphics.restore(); Laya.stag...
来源: Laya_社区 发布时间: 20170609
...有方法能够获取“鼠标是否处于按下状态”? 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们解答 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 关于使用matterjs物理引擎...
来源: Laya_社区 发布时间: 20180709
...kagelaya.d3.core.lightClasspublic class SpotLightInheritanceSpotLight LightSprite Sprite3D Node EventDispatcher Object SpotLight 类用于创建聚光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活...
来源: Laya2.0_api 发布时间: 20190513