Version: 2022.2
언어: 한국어

TrailRenderer.GetVisiblePositions

매뉴얼로 전환
public int GetVisiblePositions (out Vector3[] positions);
public int GetVisiblePositions (out NativeArray<Vector3> positions);
public int GetVisiblePositions (out NativeSlice<Vector3> positions);

파라미터

positions The array of positions to retrieve.

반환

int How many positions were actually stored in the output array.

설명

Get the visible positions of all vertices in the trail.

This method is similar to GetPositions, except that it will not return positions that the Trail Renderer created while emitting was set to `false`.