pCon.planner Plugin SDK  Version 8.9
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | Properties | Events | List of all members
X3g::Plugin::View Class Reference

A View. More...

Public Member Functions

ViewSpecificLayerVisibility GetLayerVisibility (Layer^ pLayer)
 Returns weather Layervisibility is enabled/disabled ort global for this view. More...
 
void SetLayerVisibility (Layer^ pLayer, ViewSpecificLayerVisibility pVisible)
 If isVisibilityPerViewEnabled is enabled, it sets layer visible/invisible/global for this view. More...
 

Properties

int Index [get]
 The index of this view. More...
 
int Width [get]
 The width this view. More...
 
int Height [get]
 The height this view. More...
 
ViewCameraMode CameraMode [get, set]
 The camera mode of this view. More...
 
ICamera^  Camera [get]
 Interface to camera parameters of the view. More...
 
CameraEntity^  AssignedCameraEntity [get, set]
 Interface to camera entity to which the view is currently set. More...
 
IRenderStyle^  RenderStyle [get, set]
 Active render style of view. More...
 

Events

System::EventHandler^  CameraChanged [add, remove, raise]
 Occurs when camera parameters have changed. More...
 
System::EventHandler^  RenderStyleChanged [add, remove, raise]
 Occurs when active render style has changed. More...
 
System::EventHandler^  Resize [add, remove, raise]
 Occurs when view size changed. More...
 

Detailed Description

A View.

Member Function Documentation

ViewSpecificLayerVisibility X3g::Plugin::View::GetLayerVisibility ( Layer pLayer)

Returns weather Layervisibility is enabled/disabled ort global for this view.

void X3g::Plugin::View::SetLayerVisibility ( Layer pLayer,
ViewSpecificLayerVisibility  pVisible 
)

If isVisibilityPerViewEnabled is enabled, it sets layer visible/invisible/global for this view.

Property Documentation

CameraEntity^ X3g::Plugin::View::AssignedCameraEntity
getset

Interface to camera entity to which the view is currently set.

May be null.

ICamera^ X3g::Plugin::View::Camera
get

Interface to camera parameters of the view.

It's not allowed to assign another camera reference. Use ICamera::CopyFrom() instead.

ViewCameraMode X3g::Plugin::View::CameraMode
getset

The camera mode of this view.

int X3g::Plugin::View::Height
get

The height this view.

(pixel)

int X3g::Plugin::View::Index
get

The index of this view.

IRenderStyle^ X3g::Plugin::View::RenderStyle
getset

Active render style of view.

int X3g::Plugin::View::Width
get

The width this view.

(pixel)

Event Documentation

System:: EventHandler^ X3g::Plugin::View::CameraChanged
addremoveraise

Occurs when camera parameters have changed.

System:: EventHandler^ X3g::Plugin::View::RenderStyleChanged
addremoveraise

Occurs when active render style has changed.

System:: EventHandler^ X3g::Plugin::View::Resize
addremoveraise

Occurs when view size changed.