![]() |
pCon.planner Plugin SDK
Version 8.8.1
|
Realtime OpenGL Renderer. More...
Public Member Functions | |
IImage^ | RenderImage (int pWidth, int pHeight) |
Renders image with given width and height. More... | |
Image^ | RenderImage (int pWidth, int pHeight, IEnumerable< DbEntity^ >^pEntities) |
Renders image of given modelspace entities with given width and height. More... | |
Properties | |
ICamera^ | Camera [get] |
Camera parameters. More... | |
IRenderStyle^ | Style [get, set] |
Rendering style. More... | |
System::Drawing::Color | BackgroundColor |
Sets custom background color. More... | |
Realtime OpenGL Renderer.
X3g::Plugin::IImage X3g::Plugin::IOpenGLRenderer::RenderImage | ( | int | pWidth, |
int | pHeight | ||
) |
Renders image with given width and height.
Returned image has pre-multiplied alpha in case of transparent background.
Image X3g::Plugin::IOpenGLRenderer::RenderImage | ( | int | pWidth, |
int | pHeight, | ||
IEnumerable< DbEntity^ >^ | pEntities | ||
) |
Renders image of given modelspace entities with given width and height.
Returned image has pre-multiplied alpha in case of transparent background.
System:: Drawing:: Color X3g::Plugin::IOpenGLRenderer::BackgroundColor |
Sets custom background color.
White by default.
|
get |
Camera parameters.
It's not allowed to assign another camera reference. Use ICamera::CopyFrom() instead.
|
getset |
Rendering style.