大约有 721 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0057 秒)
Laya_社区(526) Laya3.0_api(50) Laya2.0_api(40) Laya3.0_文档(40) Laya2.0_文档(39) laya_api(25) Laya_示例(1)
graphics alpha 问题 var aa:Sprite = new Sprite(); Laya.stage.addChild(aa); var g:Graphics = aa.graphics; g.alpha(0.5); g.drawRect(0,0,200,200,"#ff0000"); g. alpha()这个方法有bug吧,设置之后出现的结果不对,并不是设定的透明度!! !!而且有个很有意...
来源: Laya_社区 发布时间: 20161219
...gelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激...
来源: Laya2.0_api 发布时间: 20190513
...点击两次 求指点3d射线碰撞和UI点击穿透的问题 如何设置Sprite的宽高和点击区域? 关于遍历产生的sprite的点击事件,急,大神帮看哈 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 dialog可以点击到外部的元素,如何使...
来源: Laya_社区 发布时间: 20181210
...登录? Tween如何实现无限循环改变alpha? 关于遍历产生的sprite的点击事件,急,大神帮看哈 关于Laya实现Matter.js官方案例凹多边形的问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 如何设置Sprite的宽高...
来源: Laya_社区 发布时间: 20180804
...s | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box 类是一个控件容器类。 Public Properties Hide Inherited Public Properties Show Inherited Publi...
来源: Laya2.0_api 发布时间: 20190513
...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