大约有 442 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
Laya3.0_api(155) Laya2.0_api(89) Laya_社区(78) Laya3.0_文档(66) Laya2.0_文档(31) laya_api(22) Laya2.0_示例(1)
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
...nt.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用。 Returns void onAwake onAwake(): void Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void on...
来源: Laya3.0_api 发布时间: 20231115
...。 `emissionColor:Vector4` 放射颜色。 `enableEmission:Boolean` 是否激活放射属性。 `enableReflection:Boolean` 是否开启反射。 `normalTexture:BaseTexture` 法线贴图。 `normalTextureScale:Number` 法线贴图缩放系数。 `occlusionTexture:BaseTexture` 遮挡贴图。 `occlus...
来源: Laya2.0_文档 发布时间: 20210715
...。 `emissionColor:Vector4` 放射颜色。 `enableEmission:Boolean` 是否激活放射属性。 `enableReflection:Boolean` 是否开启反射。 `normalTexture:BaseTexture` 法线贴图。 `normalTextureScale:Number` 法线贴图缩放系数。 `occlusionTexture:BaseTexture` 遮挡贴图。 `occlus...
来源: Laya2.0_文档 发布时间: 20210714
... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-onl...
来源: Laya2.0_api 发布时间: 20190513
...seTexture currentActive : RenderTexture[static] [read-only] 获取当前激活的Rendertexture。 RenderTexture defaulteTexture : BaseTexture[override] [read-only] 获取默认纹理资源。 RenderTexture depthStencilFormat : int[read-only] 获取深度格式。 return 深度格式。 Rend...
来源: Laya2.0_api 发布时间: 20190513
...。 `emissionColor:Vector4` 放射颜色。 `enableEmission:Boolean` 是否激活放射属性。 `enableReflection:Boolean` 是否开启反射。 `normalTexture:BaseTexture` 法线贴图。 `normalTextureScale:Number` 法线贴图缩放系数。 `occlusionTexture:BaseTexture` 遮挡贴图。 `occlus...
来源: Laya2.0_文档 发布时间: 20210715
... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boole...
来源: Laya2.0_api 发布时间: 20190513
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
...(): boolean Defined in laya/d3/physics/PhysicsComponent.ts:271 获取是否激活。 Returns boolean restitution get restitution(): number set restitution(value: number): void Defined in laya/d3/physics/PhysicsComponent.ts:211 弹力。 Returns number Defined in laya/d3/physics/PhysicsComponent.ts:2...
来源: Laya3.0_api 发布时间: 20231115