Click or drag to resize
AB4D logo

CameraPreviewPanelCenterObjectModel3D Property

Gets or sets Model3D object around which the camera will rotate. By default a yellow sphere is shown.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public Model3D CenterObjectModel3D { get; set; }

Property Value

Model3D
Remarks

The set Model3D is automatically scaled to fit into the CameraPreviewPanel.

CameraPreviewPanel does not create a clone of the Model3D set to the CenterObjectModel3D. So if you need to preserve the original object, create a Clone of the Model3D before setting it to the CenterObjectModel3D.

See Also