大约有 623 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
...模型产生阴影: ```typescript // A plane receive shadow. var grid: Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); (grid.getChildAt(0)).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBR...
来源: Laya2.0_文档 发布时间: 20210715
...cullingMask : 2147483647 destroyed : false enableRender : true name : "New Sprite3D" sky : SkyDome _bufferState : BufferState _bindedIndexBuffer : IndexBuffer3D _nativeVertexArrayObject : WebGLVertexArrayObjectOES __proto__ : BufferStateBase _indexBuffer : IndexBuffer3D _slices : 48 _stacks : 48 _ve...
来源: Laya_社区 发布时间: 20181203
...模型产生阴影: ```typescript // A plane receive shadow. var grid: Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); grid.getChildAt(0).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSp...
来源: Laya2.0_文档 发布时间: 20210715
...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getCompo...
来源: Laya_社区 发布时间: 20161202
...st(this.ray, this._outHitInfo, Number.MAX_VALUE, 10); if (this._outHitInfo.sprite3D.name === "tlj"){ isRotate = !isRotate; } // this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, state); // //绘出射线 // this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0...
来源: Laya_社区 发布时间: 20170323
...l/Effect_zhujue_attack.lh"); let tarItem = Laya.Sprite3D.instantiate(item); this.scene.addChild(tarItem); tarItem.transform.position = new Laya.Vector3(0, 0, 0); item.destroy(); ...
来源: Laya_社区 发布时间: 20191102
...s() export class LabelControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.Label } ) public lab: Laya.Label; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { th...
来源: Laya3.0_文档 发布时间: 20251010
...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getCom...
来源: Laya_社区 发布时间: 20240221
...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getCompo...
来源: Laya_社区 发布时间: 20161014
...使用官网的旧版例子中的代码 addSkinComponent(spirit3D: Laya.Sprite3D): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var skinAni: Laya.SkinAnimati...
来源: Laya_社区 发布时间: 20180724