VectorExtensions.RadialMapping Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
UnityEngine.Vector3