大约有 433 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0043 秒)
...否检测所有物体,也就是是否穿透物体。这种方法的`out:Vector.` — 碰撞结果[数组元素会被回收]。 下面我们先来展示A类`raycastFromTo`,`raycastAllFromTo`的使用,这段代码源自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?languag...
来源: Laya2.0_文档 发布时间: 20210715
...获取是否写入深度。 ExtendTerrainMaterial diffuseScaleOffset1 : Vector4[write-only] ExtendTerrainMaterial diffuseScaleOffset2 : Vector4[write-only] ExtendTerrainMaterial diffuseScaleOffset3 : Vector4[write-only] ExtendTerrainMaterial diffuseScaleOffset4 : Vector4[write-only] Exte...
来源: Laya2.0_api 发布时间: 20190513
...3D 添加指定类型组件。 Sprite3D addGlitterByPositions(position0:Vector3, position1:Vector3):void 通过位置添加刀光。 Glitter addGlitterByPositionsVelocitys(position0:Vector3, velocity0:Vector3, position1:Vector3, velocity1:Vector3):void 通过位置和速度添加刀光。 Glit...
来源: laya_api 发布时间: 20170929
...nimatorStateScript 获取脚本。 AnimatorState getScripts(type:Class):Vector.<AnimatorStateScript> 获取脚本集合。 AnimatorStateProperty Detailclippropertyclip:AnimationClip 获取动作。 Implementation public function get clip():AnimationClip public function set cl...
来源: Laya2.0_api 发布时间: 20190513
...etShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBuffe...
来源: Laya3.0_api 发布时间: 20231115
...dex : int 获取光照贴图的索引。 BaseRender lightmapScaleOffset : Vector4 获取光照贴图的缩放和偏移。 BaseRender material : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝实例...
来源: Laya2.0_api 发布时间: 20190513
...ll) 创建一个 Matrix4x4 实例。 Matrix4x4 billboard(objectPosition:Vector3, cameraPosition:Vector3, cameraRight:Vector3, cameraUp:Vector3, cameraForward:Vector3, mat:Matrix4x4):void[static] 计算BlillBoard矩阵 Matrix4x4 clone():* 克隆。 Matrix4x4 cloneTo(destObject:*):void 克隆...
来源: Laya2.0_api 发布时间: 20190513
.../RenderObjs/RenderObj/CameraCullInfo.ts:17 遮挡标记 position position: Vector3 Implementation of ICameraCullInfo.position Defined in laya/d3/RenderObjs/RenderObj/CameraCullInfo.ts:11 位置 staticMask staticMask: number Implementation of ICameraCullInfo.staticMask Defined in laya/d3/RenderObjs/R...
来源: Laya3.0_api 发布时间: 20231115
...s:19 是否开启UniformBuffer Static lightClusterCount lightClusterCount: Vector3 = new Vector3(12, 12, 12) Defined in Config3D.ts:47 X、Y、Z轴的光照集群数量,Z值会影响Cluster接受区域光(点光、聚光)影响的数量,Math.floor(2048 / lightClusterCount.z - 1) * 4 为每个Cluster...
来源: Laya3.0_api 发布时间: 20231115
...tartFrame[read-only] 获取开始帧率。TextureSheetAnimation tiles : Vector2纹理平铺。TextureSheetAnimation type : int类型,0为whole sheet、1为singal row。TextureSheetAnimationPublic Methods MethodDefined By TextureSheetAnimation(frame:FrameOverTime, startFrame:StartFrame) ...
来源: laya_api 发布时间: 20170929