메소드 | 설명 | |
---|---|---|
CompressPosition ( Vector4 pos ) : Vector4 |
Compresses a position so that its components are between 0 and 1.
|
|
CompressUv ( Vector2 uv ) : Vector2 |
Compresses texture coordinates so that the components are between 0 and 1.
|
|
DecompressPosition ( Vector4 pos ) : Vector4 |
Decompresses a position so that its components are in model space.
|
|
DecompressUv ( Vector2 uv ) : Vector2 |
Decompresses texture coordinates.
|
|
VertexCompressor ( |
Initializes a new instance of the VertexCompressor class.
|
public CompressPosition ( Vector4 pos ) : Vector4 | ||
pos | Vector4 | The position to compress. |
리턴 | Vector4 |
public CompressUv ( Vector2 uv ) : Vector2 | ||
uv | Vector2 | The texture coordinates to compress. |
리턴 | Vector2 |
public DecompressPosition ( Vector4 pos ) : Vector4 | ||
pos | Vector4 | The position to decompress. |
리턴 | Vector4 |
public DecompressUv ( Vector2 uv ) : Vector2 | ||
uv | Vector2 | The texture coordinates to decompress. |
리턴 | Vector2 |
public VertexCompressor ( |
||
info | The compression info to use. | |
리턴 | TagTool.Common |