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

大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0095 秒)

2241. laya.d3.component.volume.batchvolume.StaticInstanceBatchRender_API3.0 [ 50%]

...nt/Volume/BatchVolume/StaticInstanceBatchRender" StaticInstanceBatchRender Class StaticInstanceBatchRender StaticInstanceBatchRender 类用于创建动作状态。 Hierarchy BatchRender StaticInstanceBatchRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _...

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

2242. 高级应用-实时阴影 [ 50%]

... mat = layaMonkey.getChildAt(0).getChildAt(0).skinnedMeshRender.material; }class RealTimeShadow { private _quaternion: Laya.Quaternion = new Laya.Quaternion(); private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = La...

来源: Laya_示例 发布时间: 20260303

2243. Panel使用文档(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 50%]

...动图5所示: ![5](img\5.gif)(图5) **示例代码:** ```typescript class PanelTest { constructor() { //初始化引擎 Laya.init(800, 600); //预加载所需资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded)); } private onLoaded(): void { //实例化Panel...

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

2244. Could not locate valid Java executable. Configure nextgenas.java, add to $PATH, or set $JAVA_HOME. [ 50%]

...先登录 发起人 begincsdn 相关问题 Laya2.1.0 JS调用Java PlatformClass undefined Unity导出有光照贴图时,出现错误:ArgumentException: Invalid path 真是醉了这个问题都有人问过了 也没见有答复的Uncaught TypeError: Cannot set property 'roleAni' of undefined js...

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

2245. laya.maths.Matrix [ 50%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MatrixProperties | Methods Packagelaya.mathsClasspublic class MatrixInheritanceMatrix Object Matrix 类表示一个转换矩阵,它确定如何将点从一个坐标空间映射到另一个坐标空间。 您可以对...

来源: laya_api 发布时间: 20170929

2246. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 50%]

... import laya.display.Sprite;     import laya.ui.Image;     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640,WebGL);              var image:Image = new ...

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

2247. 请问怎么制作一个layabox js版本的加载效果 [ 50%]

...s$bar.png"], Handler.create(this, onLoadComplete)); } console.log(1); Laya.class(Loadings,"Loadings",_super); function onLoadComplete() { progressBar = new ProgressBar("./comp/progress.png"); progressBar.width = 400; progressBar.x = (Laya.stage.width - progressBar.width) / 2; progressBar.y = Laya.st...

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

2248. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 50%]

...int对象父容器rotation旋转之后检测不了碰撞   附上代码  class FishPonds extends Laya.Sprite { public are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are...

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

2249. 导出的3D资源加载报错 [ 50%]

...laya.events.Event;     import laya.utils.Stat;          public class LayaSample {                  private var _stateMachine:StateMachine;         public function LayaSample()         {             Laya3D.init(1000, 500,true); //适配模式 La...

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

2250. Laya3D场景加载问题 [ 50%]

...载问题 测试内容:加载3D场景   代码如下: export default class TestUI extends ui.test.TestSceneUI {     private resource: Array<String> = [         "gate/Conventional/Test.ls",     ];     constructor() { super(); }     onAwake(): void {         Laya.loader.crea...

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