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

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

471. laya.d3.core.light.DirectionLight [ 40%]

...ad-only] 获取在场景中是否激活。 Sprite3D color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射...

来源: laya_api 发布时间: 20170929

472. laya.ui.AutoBitmap [ 40%]

...n:String):void 在画布上绘制文本(没有填色)。文本的默认颜色是黑色。 Graphics transform(matrix:Matrix, pivotX:Number = 0, pivotY:Number = 0):void 替换绘图的当前转换矩阵。 Graphics translate(x:Number, y:Number):void 重新映射画布上的 (0,0) 位置。 Graph...

来源: laya_api 发布时间: 20170929

473. laya.display.Stage [ 40%]

...rue,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象...

来源: laya_api 发布时间: 20170929

474. laya.d3.core.BaseCamera [ 40%]

...场景中是否激活。 Sprite3D  clearColor : Vector4摄像机的清除颜色。BaseCamera  clearFlag : int清楚标记。BaseCamera componentsCount : int[read-only] 获得组件的数量。 Sprite3D  cullingMask : int 可视遮罩图层。 BaseCamera destroyed : Boolean[只读]是否已...

来源: laya_api 发布时间: 20170929

475. laya.d3.core.light.SpotLight [ 39%]

...uation : Vector3 获取聚光的衰减。 SpotLight color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获取灯光的漫反射...

来源: laya_api 发布时间: 20170929

476. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...llisionEnter(other:Laya.Collision): void { //碰撞开始后,物体改变颜色 (this.owner.getComponent(Laya.MeshRenderer).material as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0);//绿色 } /** * 发生持续物理碰撞时的3D物理碰撞器事件(不适用2D)...

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

477. laya.ui.AutoBitmap [ 39%]

...:StrokeTextCmd 在画布上绘制文本(没有填色)。文本的默认颜色是黑色。 Graphics transform(matrix:Matrix, pivotX:Number = 0, pivotY:Number = 0):TransformCmd 替换绘图的当前转换矩阵。 Graphics translate(tx:Number, ty:Number):TranslateCmd 重新映射画布上的 (0,...

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

478. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...输入)、string(字符串输入)、boolean(多选框)、color(颜色框+调色盘+拾色器)、vec2(XY输入组合)、vec3(XYZ输入组合)、vec4(XYZW输入组合)、asset(选择资源),这些输入控件。 通常情况下,IDE会根据组件属性类型自动选...

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

479. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 39%]

...元素始终保持在最底部显示? btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 图片添加点击事件 有的不生效 lh文件内meshSprite添加阴影属性无效 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界...

来源: Laya_社区 发布时间: 20170720

480. laya.ui.UIGroup [ 39%]

...设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : St...

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