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

大约有 1,279 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)

1251. Button属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 42%]

...button.png"; constructor() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(600,400,Laya.WebGL); //设置舞台背景颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load(this.skin,Laya.Handler.create(this,this.onLoaded)); ...

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

1252. 图集制作与使用详解(ActionScript-IDE篇(AS3)-使用IDE创作) [ 42%]

...体和内存占用。 #### 1.2 减少CPU运算   多个`Sprite`如果渲染的是来自同一张图集的图片时,这些`Sprite`可以使用同一个渲染批次来处理,大大的减少CPU的运算时间,提高运行效率。 ## 2.支持图集打包的格式 LayaAirIDE支持对PNG与JPG...

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

1253. laya.d3.shader.SubShader_API3.0 [ 42%]

...eters vs: string ps: string Default value pipelineMode: string = "Forward" 渲染管线模式。 Returns ShaderPass getFlag getFlag(key: string): string Defined in laya/d3/shader/SubShader.ts:168 获取标记值。 Parameters key: string Returns string key 标记键。 setFlag setFlag(key: string, v...

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

1254. laya.d3.core.material.SkyProceduralMaterial_API3.0 [ 42%]

...aterial.renderQueue Defined in laya/d3/core/material/Material.ts:100 所属渲染队列. url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资...

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

1255. 3D网格添加刚体后设置欧拉角出现位置错误 [ 42%]

...ilingOffset = new Laya.Vector4(10, 10, 0, 0);         //板的画面的渲染材质         plane.meshRenderer.material = planeMat;         //给板添加物理碰撞器         let planeStaticCollider = plane.addComponent(Laya.PhysicsCollider);         //设置碰撞器      ...

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

1256. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 42%]

...c function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(1334,750, WebGL); //设置舞台背景颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load(skin, Handler.create(this, onLoaded)); } private functi...

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

1257. 关于微信小游戏关系链的问题 [ 42%]

...舞台上没有,trace image 确实是取到资源了,请问为什么没渲染出来呢。 凌风 • 2018-08-29 13:49 rankSprite2是哪里来的 会饶舌的ad钙奶 • 2019-04-18 18:08 @凌风:var rankSprite2:sprite =new sprite() Thylx • 2018-07-07 17:21 我也碰到了这个问题,请问...

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

1258. laya.resource.RenderTexture2D_API3.0 [ 41%]

...ture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture RenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture destroyedImmediately lock name url uuid DEBUG _cle...

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

1259. laya.resource.NativeRenderTexture2D_API3.0 [ 41%]

...veRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture NativeRenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture destroyedImmediately lock name url uuid DEBU...

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

1260. unity导出的场景不显示实时阴影 [ 41%]

... • 2019-11-01 11:26 可是我手动在代码里添加了阴影也没有渲染出来啊,代码如下: let light: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight) as Laya.DirectionLight; light.transform.rotate(new Laya.Vector3(-120, 0, 0), false, false); light.shadow = true; light.s...

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