大约有 275 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya_社区(127) Laya2.0_文档(45) Laya3.0_api(40) laya_api(30) Laya3.0_文档(16) Laya2.0_api(16) Laya_示例(1)
...同为object层,层级设置无效的问题 transform.pivot = new Laya.Vector3(0,1,0); 设置pivot无效~~~~~~~~~~~~~ 新建View及背景图片自适应大小如何设置 LayaAir2自带的3D示例项目,项目设置“场景横竖屏”= vertical 后,layanative测试时黑屏 问题状态 最...
来源: Laya_社区 发布时间: 20181227
...astMouseY = NaN; this.yawPitchRoll = new Laya.Vector3(); // //实例化一个四元素 this.tempRotationZ = new Laya.Quaternion(); //鼠标是否按下默认为没有按下 this.isMouseDown = false; //旋转速度 ...
来源: Laya_社区 发布时间: 20170810
...number Returns void shadowFourCascadeSplits get shadowFourCascadeSplits(): Vector3 set shadowFourCascadeSplits(value: Vector3): void Defined in laya/d3/core/light/DirectionLightCom.ts:45 四级级联阴影分割比例,X、Y、Z依次为其分割比例,Z必须大于Y,Y必须大于X。 Returns Vector3...
来源: Laya3.0_api 发布时间: 20231115
... position = transform.position; var btPosition = CannonPhysicsComponent._btVector30; if (shapeOffset.x !== 0 || shapeOffset.y !== 0 || shapeOffset.z !== 0) { var physicPosition = CannonPhysicsComponent._tempVector30; var worldMat = transform.worldMatrix; Laya.Vector3.transformCoordinate(shapeOffset,...
来源: Laya_社区 发布时间: 20210904
... colorIndex); } } private _getRandomPosition(positionRanvge: number): Laya.Vector3 { let getRangeRandom = () => { return (Math.random() - 0.5) * positionRanvge; } return new Laya.Vector3(getRangeRandom(), 0.3, getRangeRandom()); } } shader代码如下: Shader3D Start { type:Shader3D name:PBRCol...
来源: Laya3.0_文档 发布时间: 20251010
...变量类型 Uniform变量的常见类型:Texture2D,Color,Vector2,Vector3,Vector4,Bool,Float,Matrix4x4,TextureCube Texture2D用于2D纹理采样的图片类型,图片本地支持格式:JPG,PNG Color 颜色类型,为四个Float类型组成的向量值,单位为0-1范围的...
来源: Laya3.0_文档 发布时间: 20251010
...his.originRay = new Laya.Ray(this.sceneCamera.transform.position, new Laya.Vector3(0, 0, 0)) let pointVec2 = new Laya.Vector2( ) pointVec2.x = Laya.MouseManager.instance.mouseX; pointVec2.y = Laya.MouseManager.instance.mouseY; this.sceneCamera.viewportPointToRay(pointVec2, this.originRay) // 摄像...
来源: Laya_社区 发布时间: 20200617
...] 获取包围盒,不允许修改其值。 BaseRender boundingBoxCenter : Vector3[read-only] 获取包围盒中心,不允许修改其值。 BaseRender boundingSphere : BoundSphere[read-only] 获取包围球,不允许修改其值。 BaseRender castShadow : Boolean 是否产生阴影。 BaseRender...
来源: laya_api 发布时间: 20170603
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20170428
...] 获取包围盒,不允许修改其值。 BaseRender boundingBoxCenter : Vector3[read-only] 获取包围盒中心,不允许修改其值。 BaseRender boundingSphere : BoundSphere[read-only] 获取包围球,不允许修改其值。 BaseRender castShadow : Boolean 是否产生阴影。 BaseRender...
来源: laya_api 发布时间: 20170929