 |
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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic bool EnsureCameraOnInitialize { get; set; }Property Value
Boolean
See Also