SKMatrix44.MapVector2 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.
Overloads
MapVector2(Single[], Single[]) |
Applies the matrix to a series of [x, y] pairs, returning the [x', y', z', w'] result. |
MapVector2(Single[]) |
Applies the matrix to a series of [x, y] pairs, returning the [x', y', z', w'] result. |
MapVector2(Single[], Single[])
Applies the matrix to a series of [x, y] pairs, returning the [x', y', z', w'] result.
public void MapVector2 (float[] src2, float[] dst4);
Parameters
- src2
- Single[]
The array of [x, y] pairs. The array must have an entry count of a multiple of 2.
- dst4
- Single[]
Returns the resulting [x', y', z', w'] sets. The array must have an entry count of a multiple of 4, and the same number of vectors as the source has pairs.
Remarks
The source array has an implied z-value of 0 and a w-value of 1, equivalent to [x, y, 0, 1].
Applies to
MapVector2(Single[])
Applies the matrix to a series of [x, y] pairs, returning the [x', y', z', w'] result.
public float[] MapVector2 (float[] src2);
Parameters
- src2
- Single[]
The array of [x, y] pairs. The array must have an entry count of a multiple of 2.
Returns
Returns the resulting [x', y', z', w'] sets.
Remarks
The source array must have an entry count of a multiple of 2 (2, 4, 6, 8, ...). The resulting array will have an entry count of a multiple of 4 (4, 8, 12, 16, ...).
The source array has an implied z-value of 0 and a w-value of 1, equivalent to [x, y, 0, 1].
Applies to
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기