SCNMatrix4MakeScale(_:_:_:)
Returns a matrix describing a scale transformation.
Declaration
func SCNMatrix4MakeScale(_ sx: Float, _ sy: Float, _ sz: Float) -> SCNMatrix4func SCNMatrix4MakeScale(_ sx: CGFloat, _ sy: CGFloat, _ sz: CGFloat) -> SCNMatrix4Parameters
- sx:
The scale factor in the x-axis direction.
- sy:
The scale factor in the y-axis direction.
- sz:
The scale factor in the z-axis direction.
Return Value
A new scale matrix.