Click or drag to resize
Ab4d.SharpEngine logo

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.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public bool EnsureCameraOnInitialize { get; set; }

Property Value

Boolean

[Missing <value> documentation for "P:Ab4d.SharpEngine.Common.EngineCreateOptions.EnsureCameraOnInitialize"]

Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Common.EngineCreateOptions.EnsureCameraOnInitialize"]

See Also