大约有 409 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0075 秒)
2.4.0 设置了碰撞体的偏移值后,会影响模型的位置 2.4.0 模型的碰撞体用的是球形,半径3.8,偏移点0,3.8,3.8 同时创建两个模型,一个开启物理学,一个不开。 同时设置位置好,开启物理学的模型的位置并不是设置的那个点,...
来源: Laya_社区 发布时间: 20200327
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...nput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function...
来源: Laya3.0_api 发布时间: 20231115
label位置设置 为什么我设置label的x值没有反应,一直在x=0这个位置,但是设置y值有变化。 2017-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自:...
来源: Laya_社区 发布时间: 20170709
...tArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...
来源: Laya3.0_api 发布时间: 20231115
...pha alpha(alpha: number): AlphaCmd Defined in laya/display/Graphics.ts:354 设置透明度。 Parameters alpha: number Returns AlphaCmd clear clear(recoverCmds?: boolean): void Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回...
来源: Laya3.0_api 发布时间: 20231115
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...er, y: number): Point Defined in laya/maths/Point.ts:41 将 Point 的成员设置为指定值。 Parameters x: number 水平坐标。 y: number 垂直坐标。 Returns Point 当前 Point 对象。 toString toString(): string Defined in laya/maths/Point.ts:73 返回包含 x 和 y 坐标的值的字...
来源: Laya3.0_api 发布时间: 20231115