大约有 2,794 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0107 秒)
Laya_社区(2496) Laya3.0_api(74) Laya2.0_api(64) Laya2.0_文档(58) laya_api(57) Laya3.0_文档(42) Laya2.0_示例(2) Laya_示例(1)
...组件的Var值必须要设置,在编写代码时需要通过Var声名的全局变量来控制ViewStack组件,从而改变selectedIndex的属性,实现页面的切换。本例中采用的是viewStack,如动图4右上角所示,开发者也可以取别的名字。** ### 2.3 创建控制用Ta...
来源: Laya2.0_文档 发布时间: 20210714
...画。 Animation globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对...
来源: laya_api 发布时间: 20170929
...播放mp3出现The AudioContext was not allowed to start. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 本地调试加载本地图片都报错 ...
来源: Laya_社区 发布时间: 20181217
...体施加力 Parameters position: any 施加力的点,如{x:100,y:100},全局坐标 force: any 施加的力,如{x:0.1,y:0.1} Returns void applyForceToCenter applyForceToCenter(force: any): void Defined in laya/physics/RigidBody.ts:273 从中心点对刚体施加力,防止对象旋转 Paramet...
来源: Laya3.0_api 发布时间: 20231115
...obalRotation Defined in laya/display/Sprite.ts:1789 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Returns number globalScaleX get globalScaleX(): number Inherited from Text.globalScaleX Defined in laya/display/Sprite.ts:1775 获得相对于stage的全局X轴缩放...
来源: Laya3.0_api 发布时间: 20231115
...obalRotation Defined in laya/display/Sprite.ts:1789 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Returns number globalScaleX get globalScaleX(): number Inherited from Text.globalScaleX Defined in laya/display/Sprite.ts:1775 获得相对于stage的全局X轴缩放...
来源: Laya3.0_api 发布时间: 20231115
...obalRotation Defined in laya/display/Sprite.ts:1789 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Returns number globalScaleX get globalScaleX(): number Inherited from Text.globalScaleX Defined in laya/display/Sprite.ts:1775 获得相对于stage的全局X轴缩放...
来源: Laya3.0_api 发布时间: 20231115
...** ShaderVariantCollection记录了所有的ShaderVariant着色器变种,全局有一个Shader3D.debugShaderVariantCollection负责作为ShaderVariantCollection进行记录,只有通过Laya.Shader3D.debugMode = true;开启了Shader调试,Shader3D.debugShaderVariantCollection才会进行记录...
来源: Laya2.0_文档 发布时间: 20210715
...obalRotation Defined in laya/display/Sprite.ts:1789 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Returns number globalScaleX get globalScaleX(): number Inherited from Text.globalScaleX Defined in laya/display/Sprite.ts:1775 获得相对于stage的全局X轴缩放...
来源: Laya3.0_api 发布时间: 20231115
...obalRotation Defined in laya/display/Sprite.ts:1789 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Returns number globalScaleX get globalScaleX(): number Inherited from Text.globalScaleX Defined in laya/display/Sprite.ts:1775 获得相对于stage的全局X轴缩放...
来源: Laya3.0_api 发布时间: 20231115