大约有 869 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0131 秒)
...取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的...
来源: Laya2.0_api 发布时间: 20190513
...续对摄像机的逻辑操作....... } } } ``` 在Untiy中,摄像机默认名为“Main Camera”,因此在上述代码中,通过scene的getChildByName(“Main Camera”)方法得到了摄像机,以供后续逻辑操作。开发者们也可以在unity中自定义摄像机的名字。
来源: Laya2.0_文档 发布时间: 20210715
...取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的...
来源: Laya2.0_api 发布时间: 20190513
... defaultTexture(): BaseTexture Defined in laya/resource/BaseTexture.ts:272 默认贴图 Returns BaseTexture destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:138 是否已销毁。 Returns boolean dimension get dimension(): TextureDimension Def...
来源: Laya3.0_api 发布时间: 20231115
...e normalTexture: Texture2D = null Defined in laya/resource/Texture2D.ts:42 默认法线纹理 Static whiteTexture whiteTexture: Texture2D = null Defined in laya/resource/Texture2D.ts:38 纯白色纹理。 Accessors anisoLevel get anisoLevel(): number set anisoLevel(value: number): void Inherited fro...
来源: Laya3.0_api 发布时间: 20231115
...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的...
来源: laya_api 发布时间: 20170929
...取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoPlay : Boolean = true是否自动播放Particle2D autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Spr...
来源: Laya2.0_api 发布时间: 20190513
...ght": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component asPassword : Boolean 本API已弃用。使用type="...
来源: laya_api 发布时间: 20170929
...要通过加载界面显示进度,LayaNative在运行项目的时候,默认有一个LoadingView界面,一段时间后,即可进入游戏,如图1所示:  图1 ## 1.进度条控制 开发者可以在config.js中,控制LoadingView的背景色、字体颜色、Tips...
来源: Laya2.0_文档 发布时间: 20210715
...辑器中断点调试。需要在VSCode中配置好调试环境。 VSCode默认是没有配置调试环境的,如果开发者没有配置好,可根据本小节的指引,来安装chrome调试插件(扩展)和配置launch.json来配置好调试环境。 #### 3.1 安装Debugger for Chrome 点...
来源: Laya2.0_文档 发布时间: 20210715