Method SetCameraToWorldTransformation
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
SetCameraToWorldTransformation(double[])
Sets a 3D transformation matrix specifying a position and orientation of the camera in world coordinates. Meaningful only when TransformationSource is CameraToWorld.
public void SetCameraToWorldTransformation(double[] cameraToWorldTransformation)
Parameters
cameraToWorldTransformation
double[]A 12-element array specifying 3D camera-to-world transformation matrix. Must not be
null
when TransformationSource is CameraToWorld.
Remarks
The 12-element array is the first 3 columns x 4 rows of the complete 4-by-4 matrix. The fourth column is always the same, it gets added implicitly.
| a b c 0 |
[ a; b; c; d; e; f; g; h; i; tx; ty; tz ] => | d e f 0 |
| g h i 0 |
| tx ty tz 1 |