Interface IRender3DWidget
- Namespace
- RetroEditor.Plugins
- Assembly
- RetroEditor.dll
Interface for a 3D widget that renders a 3D scene
public interface IRender3DWidget
Properties
CameraFovY
Camera field of view in the Y direction (in degrees)
float CameraFovY { get; }
Property Value
CameraLookAt
Camera look-at point in the 3D scene
Vector3F CameraLookAt { get; }
Property Value
CameraOrthographic
Whether the camera is orthographic (true) or perspective (false)
bool CameraOrthographic { get; }
Property Value
CameraPosition
Camera position in the 3D scene
Vector3F CameraPosition { get; }
Property Value
CameraUp
Camera up vector in the 3D scene
Vector3F CameraUp { get; }
Property Value
Height
Height in pixels of the final rendered image
uint Height { get; }
Property Value
Lines
Array of lines to render in the 3D scene
Line[] Lines { get; }
Property Value
- Line[]
Points
Array of points to render in the 3D scene
Point[] Points { get; }
Property Value
- Point[]
Triangles
Array of triangles to render in the 3D scene
Triangle[] Triangles { get; }
Property Value
- Triangle[]
Width
Width in pixels of the final rendered image
uint Width { get; }
Property Value
Methods
Update(float)
Updates the 3D scene, called every update cycle
void Update(float seconds)
Parameters
secondsfloat