大约有 817 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0060 秒)
Laya_社区(609) Laya2.0_文档(68) Laya3.0_api(47) laya_api(29) Laya_示例(24) Laya2.0_api(24) Laya3.0_文档(16)
...D: string; /**材质更换时触发*/ static MATERIAL_CHANGED: string; /**渲染队列更换时触发*/ static RENDERQUEUE_CHANGED: string; /**世界矩阵更新时触发。*/ static WORLDMATRIX_NEEDCHANGE: str...
来源: Laya_社区 发布时间: 20170601
...况如下: Unity的网格渲染属性 LayaAir是否支持导出的说明 Materials(材质) 支持(包括:Size大小、Element材质球元素) Lightmap Static( 静态光照贴图) 部分支持(包括:Lightmaps贴图(Baked Lightmap烘焙光照贴图(Lightmap Index、Tiling X、...
来源: Laya3.0_文档 发布时间: 20251010
...r Resource BaseTexture BaseShader TextTexture HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2D AnimatorController2D TextResource AnimationTemplet ParticleTemplate2D SpineTemplet Index Properties _id destroyedImmediately lock name url u...
来源: Laya3.0_api 发布时间: 20231115
...ing = loaded[static] 定义 loaded 事件对象的 type 属性值。Event MATERIAL_CHANGED : String = materialchanged[static] 材质更换时触发Event MESH_CHANGED : String = meshchanged[static] 模型更换时触发Event MESSAGE : String = message[static] 定义 message 事件对象的 type ...
来源: laya_api 发布时间: 20170929
...(raidius, height)); scene.addChild(cone); //设置材质 cone.meshRenderer.material = mat4; //设置位置 cone.transform.position = new Laya.Vector3(Math.random() * 4 - 2, 10, Math.random() * 4 - 2); var rigidBody = cone.addComponent(Laya.Rigidbody3D); //创建球型碰撞器 var coneShape = new La...
来源: Laya2.0_文档 发布时间: 20210715
...开始后,物体改变颜色 (this.owner.getComponent(Laya.MeshRenderer).material as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0);//绿色 } /** * 发生持续物理碰撞时的3D物理碰撞器事件(不适用2D),也就是碰撞生命周期内的第二次碰撞...
来源: Laya3.0_文档 发布时间: 20251010
...。 2.5 添加材质和纹理 每个3D基础对象,都可以通过创建 Material,并在 MeshRenderer 组件中指定新创建的材质,来设置 albedo Texture 纹理 ,如动图2-7所示, (动图2-7) 三、代码创建与使用 通过代码来创建和使用3D基础对象,也是我...
来源: Laya3.0_文档 发布时间: 20251010
... 2020-09-23 18:13 监听其他组件是什么 是像unity那样可以查看Material,Collder等组件吗 李尔 • 2019-03-27 16:05 包内的sourcemap都在,反编译下就是明文了 何吓吓 • 2019-03-01 13:58 能解压 重新下呗... Nevermore • 2019-03-01 14:10 试了几次,打开都...
来源: Laya_社区 发布时间: 20190225
...(raidius, height)); scene.addChild(cone); //设置材质 cone.meshRenderer.material = mat4; //设置位置 cone.transform.position = new Laya.Vector3(Math.random() * 4 - 2, 10, Math.random() * 4 - 2); var rigidBody:Laya.Rigidbody3D = cone.addComponent(Laya.Rigidbody3D); //创建球型碰撞器 var c...
来源: Laya2.0_文档 发布时间: 20210714
...个 PointLight 实例。 PointLight _getSortID(renderElement:IRenderable, material:BaseMaterial):int 排序函数。 Sprite3D _update(state:RenderState):void 更新 Sprite3D _updateConch(state:RenderState):void 更新 Sprite3D addChild(node:Node):Node[override] 添加子节点。 Sprite3D addCh...
来源: laya_api 发布时间: 20170929