大约有 659 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0063 秒)
...撞形状: 如果希望物理效果生效,还需要开启Tile Map Layer组件中的Physics Enable属性 此时,我们在场景中设置瓦片,就可以看到物理效果: Light Info Layers:光线遮挡层。使瓦片地图可以与2D光线组件互动。 在TileSet的属性设置面板...
来源: Laya3.0_文档 发布时间: 20251010
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同...
来源: laya_api 发布时间: 20170929
...e: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgress).then(() => { Laya.loader....
来源: Laya3.0_文档 发布时间: 20251010
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同...
来源: laya_api 发布时间: 20170929
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String[override] 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新...
来源: laya_api 发布时间: 20170929
...m Component.enabled Defined in laya/components/Component.ts:74 是否启用组件。 Returns boolean Inherited from Component.enabled Defined in laya/components/Component.ts:78 是否启用组件。 Parameters value: boolean Returns void hideFlags get hideFlags(): number set hideFlags(value: number)...
来源: Laya3.0_api 发布时间: 20231115
...点作为其子节点的鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited...
来源: Laya3.0_api 发布时间: 20231115
...m Component.enabled Defined in laya/components/Component.ts:74 是否启用组件。 Returns boolean Inherited from Component.enabled Defined in laya/components/Component.ts:78 是否启用组件。 Parameters value: boolean Returns void hideFlags get hideFlags(): number set hideFlags(value: number)...
来源: Laya3.0_api 发布时间: 20231115
...itanceColorPicker Component Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1...
来源: laya_api 发布时间: 20170929
...sicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith c...
来源: Laya3.0_api 发布时间: 20231115