 |
EngineCreateOptionsEnsureCameraOnInitialize Property |
When true (by default) and if there is no camera defined when rendering the first frame, then a new
TargetPositionCamera is created
with Heading and Attitude set to 0, TargetPosition set to the center of Scene's Bounding box and Distance set to double the distance of the bounding box diagonal.
A warning log message is be written to log when a camera is created in this case.
When false and if no camera is defined, then Identity matrix is used for ViewProjection matrix.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic bool EnsureCameraOnInitialize { get; set; }Property Value
Boolean
See Also