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

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

471. 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

472. 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

473. 组件脚本的内置方法 · 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

474. 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

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

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

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

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

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

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

477. laya.ui.UIGroup [ 39%]

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

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

478. laya.ui.List [ 38%]

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

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

479. 【简单跑酷--JS版】---Lv.6 终篇 [ 38%]

...据我们的UI来分析一下 其实两个能量条都是一样的 只是颜色不一样 那我们可以只写一个HP.js 来实现两个能量条的功能,我们创建一个Hp.js  代码如下  (function () { /** * 血条 * */ function Hp(type){ //背景 this.bg = null; //进度条 this.bar = n...

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

480. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 38%]

...                  Ignore Vertices Color         忽略顶点颜色信息,可减小lm文件大小         Texture Setting   ---   贴图设置                 Original Texture Type    ---   需要转换格式的原始纹理类型                         ...

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