• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0051 秒)

1191. 关联shader的uniform(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 68%]

... _shaderValues 与 shader uniform。 ```javascript //绑定漫反射贴图 public static ALBEDOTEXTURE = Laya.Shader3D.propertyNameToID("u_AlbedoTexture"); //绑定描边颜色 public static OUTLINECOLOR = Laya.Shader3D.propertyNameToID("u_OutlineColor"); //绑定描边宽度 public static OUTLINEWI...

来源: Laya2.0_文档 发布时间: 20210715

1192. ColorPicker组件的皮肤制作标准是? [ 68%]

...  import laya.ui.ColorPicker;      import laya.utils.Handler;      public class ColorPicker_Example      {           public function ColorPicker_Example()           {               Laya.init(640, 800);//设置游戏画布宽高。               Laya.stage.bgColor = ...

来源: Laya_社区 发布时间: 20171120

1193. 区块地图-PerspectiveWall [ 68%]

... laya.maths.Rectangle; import laya.utils.Browser; import laya.webgl.WebGL; public class TiledMap_PerspectiveWall { private var tiledMap:TiledMap; public function TiledMap_PerspectiveWall() { // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE;...

来源: Laya2.0_示例 发布时间: 20260106

1194. laya.d3.graphics.SphericalHarmonicsL2_API3.0 [ 68%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/graphics/SphericalHarmonicsL2" SphericalHarmonicsL2 Class SphericalHarmonicsL2 二阶球谐函数。 Hierarchy SphericalHarmonicsL2 Index Met...

来源: Laya3.0_api 发布时间: 20231115

1195. laya.d3.core.reflectionprobe.ReflectionProbeManager_API3.0 [ 68%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/reflectionProbe/ReflectionProbeManager" ReflectionProbeManager Class ReflectionProbeManager ReflectionProbeManager 类用于反射探针...

来源: Laya3.0_api 发布时间: 20231102

1196. laya.d3.component.staticmesh.StaticBatchMeshRenderElement_API3.0 [ 68%]

...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/staticmesh/StaticBatchMeshRenderElement" StaticBatchMeshRenderElement Class StaticBatchMeshRenderElement Hierarchy RenderElement St...

来源: Laya3.0_api 发布时间: 20231102

1197. WebGLContext2D arcTo方法如果设置了setPathId 无法绘制 [ 68%]

...text2D arcTo方法如果设置了setPathId 无法绘制。 源码 override public function arcTo(x1:Number, y1:Number, x2:Number, y2:Number, r:Number):void {     if (mId != -1) {         var tShape:IShape = VectorGraphManager.getInstance().shapeDic[this.mId];         if (mHaveKey ) {   ...

来源: Laya_社区 发布时间: 20190708

1198. HTMLDivElement如何设置文本区域内可以上下拖动的效果 [ 68%]

....dom.HTMLDivElement; import laya.maths.Rectangle; import laya.webgl.WebGL; public class HelloLaya { private var html:HTMLDivElement; public function HelloLaya() { Laya.init(600, 600,WebGL); Laya.stage.bgColor="#eeffcc"; var sp:Sprite=new Sprite(); sp.graphics.drawRect(50,50,300,300,null,"#0000FF",2)...

来源: Laya_社区 发布时间: 20170905

1199. laya.display.cmd.FillTextureCmd_API3.0 [ 68%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/FillTextureCmd" FillTextureCmd Class FillTextureCmd 填充贴图 Hierarchy FillTextureCmd Index Properties color height offset perce...

来源: Laya3.0_api 发布时间: 20231115

1200. laya.html.HtmlLink_API3.0 [ 68%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/HtmlLink" HtmlLink Class HtmlLink Hierarchy HtmlLink Implements IHtmlObject IHitArea Index Constructors constructor Accessors element heigh...

来源: Laya3.0_api 发布时间: 20231115