• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 577 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)

211. laya.ui.View [ 68%]

...ll。Sprite  anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View  anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。View autoDestroyAtClosed : Boolean = false场景被关闭后,是否自...

来源: Laya2.0_api 发布时间: 20190513

212. laya.ui.ComboBox [ 68%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...

来源: laya_api 发布时间: 20170929

213. laya.ui.FrameClip [ 68%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...

来源: laya_api 发布时间: 20170422

214. 网格 · LayaAir3.4 · 引擎文档 · LAYABOX [ 68%]

...项目工程中 假设cube01和cube02共用一个材质redMat,当我们想通过sharedMaterial修改cube01上material的属性的时候,cube02上对应的属性也会被修改 总结 当使用MeshRenderer.material的时候,每次调用都会生成一个新的material到内存中。 当使用Rend...

来源: Laya3.0_文档 发布时间: 20251010

215. laya.d3.core.RenderableSprite3D [ 68%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

216. laya.display.Text [ 68%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"...

来源: laya_api 发布时间: 20170929

217. laya.d3.core.light.PointLight [ 68%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

218. laya.ui.FontClip [ 68%]

...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoPlay : Boolean 表示是否自动播放动画,若...

来源: Laya2.0_api 发布时间: 20190513

219. laya.ui.Tree_API3.0 [ 68%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...

来源: Laya3.0_api 发布时间: 20231115

220. laya.d3.core.light.LightSprite [ 68%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...

来源: Laya2.0_api 发布时间: 20190513