大约有 339 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Compone...
来源: Laya3.0_api 发布时间: 20231115
...all,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点遍历及命令组织,不会减少drawcall数,性能中等。优点:没有额外内存开销,无需renderTarget支持。 Sprite customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只...
来源: Laya2.0_api 发布时间: 20190513
...是否为单实例组件。 Script owner : Node [只读]获取所属Node节点。 ComponentPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By _isScript():Boolean[override] Script destroy():void 销毁组件 Component onAwake():void 组件被激活后...
来源: Laya2.0_api 发布时间: 20190513
...y版本 2018.4.7 导出时点了忽略未激活...始终会多出两个null节点出来... 附件 : --> testLaya.zip 2019-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 达尔文 赞同来自: js中数组是...
来源: Laya_社区 发布时间: 20191214
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inheri...
来源: Laya3.0_api 发布时间: 20231115
...herited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSiz...
来源: Laya3.0_api 发布时间: 20231115
...eton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:191 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner...
来源: Laya3.0_api 发布时间: 20231102
...eton Defined 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 Defi...
来源: Laya3.0_api 发布时间: 20231115
... NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 ...
来源: Laya2.0_api 发布时间: 20190513
...多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不建议超过8个,也不能小于3个 Hierarchy ColliderBase PolygonCollider Index Constructors constructor Properties _extra _singleton f...
来源: Laya3.0_api 发布时间: 20231115