편집

다음을 통해 공유


VectorExtensions.RadialMapping Method

Definition

Get the relative mapping based on a source Vec3 and a radius for radial mapping.

public:
 static UnityEngine::Vector3 RadialMapping(UnityEngine::Vector3 source, float radialRange, float radius, int row, int totalRows, int column, int totalColumns);
public static UnityEngine.Vector3 RadialMapping (UnityEngine.Vector3 source, float radialRange, float radius, int row, int totalRows, int column, int totalColumns);
static member RadialMapping : UnityEngine.Vector3 * single * single * int * int * int * int -> UnityEngine.Vector3
Public Function RadialMapping (source As Vector3, radialRange As Single, radius As Single, row As Integer, totalRows As Integer, column As Integer, totalColumns As Integer) As Vector3

Parameters

source
UnityEngine.Vector3

The source Vector3 to be mapped to cylinder

radialRange
Single

The total range of the radial in degrees as a Single

radius
Single

This is a Single for the radius of the radial

row
Int32

The current row as a Int32 for the radial calculation

totalRows
Int32

The total rows as a Int32 for the radial calculation

column
Int32

The current column as a Int32 for the radial calculation

totalColumns
Int32

The total columns as a Int32 for the radial calculation

Returns

UnityEngine.Vector3

Applies to