大约有 274 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)
Laya_社区(116) Laya3.0_api(79) Laya2.0_文档(27) Laya3.0_文档(19) laya_api(17) Laya2.0_api(15) Laya_示例(1)
...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //...
来源: Laya3.0_文档 发布时间: 20251010
... export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property(String) public text: string = ""; @property(Laya.Image) public image: Laya.Image = null; constructor() { super(); } } 附件 : --> 2023-04-12 添加评...
来源: Laya_社区 发布时间: 20230412
...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
...了。 (图1-3) 不同的蓝图文件有不同的使用方式: 继承Sprite3D的蓝图直接拖到3D场景中使用 (也可拖到3D场景的层级目录)。 (图1-4) 继承UI派生类的蓝图直接拖到2D场景中使用 (也可以拖到2D场景的层级目录)。 (图1-5) 继...
来源: Laya3.0_文档 发布时间: 20251010
...de 对象可以有子显示对象。 Hierarchy EventDispatcher Node Sprite Sprite3D Index Constructors constructor Properties _extra _scene _url name tag Accessors active activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _pr...
来源: Laya3.0_api 发布时间: 20231115
...的距离进行旋转 (this.owner as Laya.Sprite3D).transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "...
来源: Laya_社区 发布时间: 20190605
...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getCompo...
来源: Laya_社区 发布时间: 20161014
...reate(this, this.OnComplete)); private OnComplete():void { let sprite:Laya.Sprite3D = Laya.loader.getRes("model/role/1/model.lh"); this._scene.addChild(sprite); } 155*****924 • 2019-05-16 15:16 这样写应该没问题吧? 155*****924 • 2019-05-16 15:18 Utils3D._mulMatrixArray(this._...
来源: Laya_社区 发布时间: 20190516
...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.add...
来源: Laya3.0_文档 发布时间: 20251010
...m() * 0.5 + 0.8; //创建圆锥形3D模型节点对象 let cone = new Laya.Sprite3D; let coneMesh = cone.addComponent(Laya.MeshFilter); let coneRender = cone.addComponent(Laya.MeshRenderer); // 创建网格 coneMesh.sharedMesh = Laya.PrimitiveMesh.createCone(0.25, 0.75); // 创建材质 let coneMate...
来源: Laya3.0_文档 发布时间: 20251010