大约有 612 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0227 秒)
...ed in laya/components/Component.ts:86 Returns boolean bottom get bottom(): number set bottom(value: number): void Defined in laya/ui/Widget.ts:145 表示距底边的距离(以像素为单位)。 Returns number Defined in laya/ui/Widget.ts:149 表示距底边的距离(以像素为单位)。 P...
来源: Laya3.0_api 发布时间: 20231102
...。 ```typescript static compileShader(shaderName: String, subShaderIndex: Number, passIndex: Number, ...defineMask) ``` - 4.注册宏定义。(注册一个宏定义,并非是在Shader中开启了该宏定义,开启Shader的宏定义使用的是材质中(Material)的_shaderValues.addDefine进行...
来源: Laya2.0_文档 发布时间: 20210714
...要用Math或parseInt取下整, int.MAX_VALUE也是同理,建议你用Number.MAX_VALUE替代,如果需要取整,就用Math来取整即可! 2017-06-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 fzhgren 相关问题 Laya2.0...
来源: Laya_社区 发布时间: 20170623
...Update Constructors constructor new CannonPhysicsComponent(collisionGroup: number, canCollideWith: number): CannonPhysicsComponent Overrides Component.constructor Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:309 创建一个 PhysicsComponent 实例。 Parameters collisionGroup: number ...
来源: Laya3.0_api 发布时间: 20231102
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = ...
来源: laya_api 发布时间: 20170929
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = ...
来源: laya_api 发布时间: 20170929
...nnonColliderShape.ts:107 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:12 形状方向_X轴正向 Static SHAPEORIENTATION_UPY SHAPEORIENTATION_UPY: number = 1 Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:14...
来源: Laya3.0_api 发布时间: 20231102
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = ...
来源: laya_api 发布时间: 20170929
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anch...
来源: Laya2.0_api 发布时间: 20190513
...ape/ColliderShape.ts:115 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Defined in laya/d3/physics/shape/ColliderShape.ts:14 形状方向_X轴正向 Static SHAPEORIENTATION_UPY SHAPEORIENTATION_UPY: number = 1 Defined in laya/d3/physics/shape/ColliderShape.ts:16 形状方向_Y轴正向...
来源: Laya3.0_api 发布时间: 20231115