提交 c65fca63 编写于 作者: W webglzhang

remove the raycast method declaration of instancedmesh.d.ts and remove the...

remove the raycast method declaration of instancedmesh.d.ts and remove the description in the document
上级 a68c862e
...@@ -64,12 +64,6 @@ ...@@ -64,12 +64,6 @@
Get the local transformation matrix of the defined instance. Get the local transformation matrix of the defined instance.
</p> </p>
<h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<p>
Get intersections between a casted ray and this insatncedmesh.
[page:Raycaster.intersectObject] will call this method, but the results are not ordered.
</p>
<h3>[method:null setMatrixAt]( [param:Integer index], [param:Matrix4 matrix] )</h3> <h3>[method:null setMatrixAt]( [param:Integer index], [param:Matrix4 matrix] )</h3>
<p> <p>
[page:Integer index]: The index of an instance. Values have to be in the range [0, count]. [page:Integer index]: The index of an instance. Values have to be in the range [0, count].
......
...@@ -64,12 +64,6 @@ ...@@ -64,12 +64,6 @@
Get the local transformation matrix of the defined instance. Get the local transformation matrix of the defined instance.
</p> </p>
<h3>[method:null raycast]( [param:Raycaster raycaster], [param:Array intersects] )</h3>
<p>
Get intersections between a casted ray and this insatncedmesh.
[page:Raycaster.intersectObject] will call this method, but the results are not ordered.
</p>
<h3>[method:null setMatrixAt]( [param:Integer index], [param:Matrix4 matrix] )</h3> <h3>[method:null setMatrixAt]( [param:Integer index], [param:Matrix4 matrix] )</h3>
<p> <p>
[page:Integer index]: The index of an instance. Values have to be in the range [0, count]. [page:Integer index]: The index of an instance. Values have to be in the range [0, count].
......
...@@ -4,7 +4,6 @@ import { Material } from './../materials/Material'; ...@@ -4,7 +4,6 @@ import { Material } from './../materials/Material';
import { BufferAttribute } from './../core/BufferAttribute'; import { BufferAttribute } from './../core/BufferAttribute';
import { Mesh } from './Mesh'; import { Mesh } from './Mesh';
import { Matrix4 } from './../math/Matrix4'; import { Matrix4 } from './../math/Matrix4';
import { Intersection, Raycaster } from "../core/Raycaster";
export class InstancedMesh extends Mesh { export class InstancedMesh extends Mesh {
...@@ -21,7 +20,6 @@ export class InstancedMesh extends Mesh { ...@@ -21,7 +20,6 @@ export class InstancedMesh extends Mesh {
getMatrixAt( index: number, matrix: Matrix4 ): void; getMatrixAt( index: number, matrix: Matrix4 ): void;
setMatrixAt( index: number, matrix: Matrix4 ): void; setMatrixAt( index: number, matrix: Matrix4 ): void;
raycast( raycaster: Raycaster, intersects: Intersection[] ): void;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册