大约有 273 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0067 秒)
...会受力的影响,不会产生受力位移,运动刚体的位移只能通过transform改变节点坐标。 > 与2D的运动学类型刚体不同,LayaAir 3D的运动刚体脱离了物理引擎运动,即使设置速度也不可以使其位移。这样做的好处是减少了物理运算,节...
来源: Laya2.0_文档 发布时间: 20210715
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...
来源: Laya2.0_api 发布时间: 20190513
...tcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值和最大值)之间滑块的相对位置确定。 滑块允许最小值和最大值之间特定...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...
来源: laya_api 发布时间: 20170929
... string, complete: Handler): void Defined in laya/display/BitmapFont.ts:33 通过指定位图字体文件路径,加载位图字体文件,加载完成后会自动解析。 Parameters path: string 位图字体文件的路径。 complete: Handler 加载并解析完成的回调。 Returns void Globa...
来源: Laya3.0_api 发布时间: 20231115
...imation(aniIndex: number): any Defined in laya/ani/AnimationTemplet.ts:176 通过索引获取动画 Parameters aniIndex: number Returns any getAnimationCount getAnimationCount(): number Defined in laya/ani/AnimationTemplet.ts:168 获取动画数量 Returns number getAnimationDataWithCache getAnimati...
来源: Laya3.0_api 发布时间: 20231115
...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...
来源: Laya2.0_api 发布时间: 20190513
...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...
来源: Laya2.0_api 发布时间: 20190513
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持...
来源: Laya2.0_api 发布时间: 20190513
...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...
来源: Laya3.0_api 发布时间: 20231115