SCNVector3.Transform 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
| Name | Description |
|---|---|
| Transform(SCNVector3, SCNMatrix4) |
Transform a Vector by the given Matrix |
| Transform(SCNVector3, SCNMatrix4, SCNVector4) |
Transform a Vector by the given Matrix |
Transform(SCNVector3, SCNMatrix4)
Transform a Vector by the given Matrix
public static SceneKit.SCNVector4 Transform(SceneKit.SCNVector3 vec, SceneKit.SCNMatrix4 mat);
static member Transform : SceneKit.SCNVector3 * SceneKit.SCNMatrix4 -> SceneKit.SCNVector4
Parameters
- vec
- SCNVector3
The column vector to transform
- mat
- SCNMatrix4
The desired transformation
Returns
The transformed vector
Applies to
Transform(SCNVector3, SCNMatrix4, SCNVector4)
Transform a Vector by the given Matrix
public static void Transform(ref SceneKit.SCNVector3 vec, ref SceneKit.SCNMatrix4 mat, out SceneKit.SCNVector4 result);
static member Transform : SCNVector3 * SCNMatrix4 * SCNVector4 -> unit
Parameters
- vec
- SCNVector3
The column vector to transform
- mat
- SCNMatrix4
The desired transformation
- result
- SCNVector4
The transformed vector