大约有 868 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)
Laya2.0_文档(437) Laya_社区(301) Laya3.0_api(86) laya_api(20) Laya2.0_api(11) Laya3.0_文档(9) Laya_示例(2) Laya2.0_示例(2)
...d in laya/d3/core/scene/bvh/BVHSpatialBox.ts:472 重算包围盒 null need Update by child contents need Update by List Returns void removeCell removeCell(cell: IBoundsCell): void Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:293 remove one Cell Parameters cell: IBoundsCell Returns void splitBo...
来源: Laya3.0_api 发布时间: 20231115
官方文档也太粗心了,不得不吐槽一下。 "update"居然写成"updata" 我直接复制文档的代码,结果出了问题,找了一下午才发现,文档上面的单词写了,我日,我艹 附件 : --> 2018-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20180908
# 场景雾化 ###### *version :2.7.0beta Update:2020-6-11* 雾化效果在项目中起着重要的作用,雾化效果就相当于开启大气的效果,看起来有种朦朦胧胧的感觉,让场景更真实。LayaAir 3D引擎可以设置场景的雾效可见距离(相当于浓度)及雾...
来源: Laya2.0_文档 发布时间: 20210715
# RenderTexture的像素读取 ###### *version :2.1.0 Update:2019-5-25* 在之前的RenderTexture的使用还是实时的渲染 “摄像机”。但是在很多的时候我需要像相机一样 “拍”一张照片,这样我们就可以使用RenderTexture的 `getData` 像素读取接口来...
来源: Laya2.0_文档 发布时间: 20210714
...ner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CommonScript(): CommonScript Overrides Component.constructor Defined in laya/components/CommonScript.ts:13 Returns CommonScript Properties ...
来源: Laya3.0_api 发布时间: 20231102
# 摄像机动画的使用 ###### *version :2.1.0beta Update:2019-6-13* LayaAir3D插件支持摄影机动画导出。建议在unity中编辑好再导出使用。 下面的示例我们现在unity中编辑一个简单的摄像机动画,该动画只是简单的移动摄像机。和材质动画一样...
来源: Laya2.0_文档 发布时间: 20210715
....transform.position;Laya.Tween.to(box.potOld,{ x:1 ,y:2 ,update:new Laya.Handler(box,function(){ this.transform.position = this.potOld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),Cons...
来源: Laya_社区 发布时间: 20180112
...引入不了LayaDictionary 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? 怎么引入外部的js文件 as中BoxCollider引入了,但是运行的时候还是提示null 写了一个类继承了laya.sprite 可是点击事...
来源: Laya_社区 发布时间: 20171201
# SkyBoxMaterial材质详解 ###### *version :2.1.0beta Update:2019-5-14* SkyBoxMaterial天空盒材质是一个6个面的立方体,包围整个场景,看起来像天空一样。 #### 主要属性和方法 > 属性 `tintColor:Vector4` 颜色。 `exposure:Number` 曝光强度。 `textureCube:...
来源: Laya2.0_文档 发布时间: 20210715
# 摄像机的移动和旋转 ###### **version :2.7.0beta Update:2020-6-11** 摄像机继承于Sprite3D,一样可以对它进行3D变换的操作,通过它transform属性在3D场景中移动旋转变化,多角度取景,使观众或游戏者获得更真实的空间体验。 移动摄...
来源: Laya2.0_文档 发布时间: 20210715