大约有 1,295 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0059 秒)
Laya_社区(1032) Laya2.0_文档(100) Laya3.0_文档(92) Laya3.0_api(66) Laya2.0_api(2) laya_api(2) Laya_示例(1)
...rite 节点、Image 节点等。 只有继承自 Node 的对象,才具备添加子节点的能力。 1.5 显示对象、容器对象 在节点体系中,具备可视内容(如图片、文字、动画、模型等)的节点被称为显示对象。而有些节点本身不参与渲染,仅用于...
来源: Laya3.0_文档 发布时间: 20251010
... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。...
来源: Laya3.0_api 发布时间: 20231115
... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/PrismaticJoint.ts:18 [首次设置有效]关节的控制点,是相对于自身刚体的左上角位置偏移 axis axis: any[] = [1, ...
来源: Laya3.0_api 发布时间: 20231115
... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效...
来源: Laya2.0_文档 发布时间: 20210715
... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效...
来源: Laya2.0_文档 发布时间: 20210715
... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner Defined in laya/compone...
来源: Laya3.0_api 发布时间: 20231115
...github.com/davidshimjs/qrcodejs)。 新建个项目,把下载的qrcode.js添加到index.html中。qrcode的api请参考[地址](https://github.com/davidshimjs/qrcodejs)。具体的逻辑代码如下: ```typescript //初始化引擎 Laya.init(600,400); Laya.stage.bgColor = "#ffcccc"; var div = La...
来源: Laya2.0_文档 发布时间: 20210714