Difference between revisions of "GUI3DView"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the GUI3DView class)
(Documentation for the GUI3DView class)
Line 1: Line 1:
* '''Inherits class: [[GUIComponent]]'''
+
*'''Inherits class: [[GUIComponent]]'''
 
* This is a JavaScript visible object
 
* This is a JavaScript visible object
 
===Remarks <nowiki>[</nowiki>[{{fullurl:GUI3DView Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
===Remarks <nowiki>[</nowiki>[{{fullurl:GUI3DView Remarks|action=edit}} edit]<nowiki>]</nowiki>===

Revision as of 15:26, 18 November 2016

  • Inherits class: GUIComponent
  • This is a JavaScript visible object

Remarks [edit]

Properties

bool AllowMove {get; set;}
bool AllowPitch {get; set;}
bool AllowRotate {get; set;}
bool AllowZoom {get; set;}
Color32 BackgroundColor {get; set;}
ResourceValue BackgroundImage {get; set;}
string CameraName {get; set;}
JSVector3 CameraOffset {get; set;}
JSVector3 CameraRotation {get; set;}
JSVector3 DefaultRotation {get; set;}
bool Enabled {get; set;}
Single FieldOfView {get; set;}
bool FixedCamera {get; set;}
bool FlyCamera {get; set;}
Color32 GridColor {get; set;}
JSVector3 GridSize {get; set;}
Single GridSpacing {get; set;}
Color32 GridSubColor {get; set;}
Single GridSubSpacing {get; set;}
bool IsLoading {get; set;}
string Layer {get; set;}
bool LineOfSight {get; set;}
bool LookAtFocused {get; set;}
Single MoveSpeed {get; set;}
Single RotationSpeed {get; set;}
JSSelectionManager SelectionManager {get;}
bool ShowGrid {get; set;}
bool ShowMainLines {get; set;}
bool ShowSubLines {get; set;}
Color32 SpinnerColor {get; set;}
Single SpinnerHeight {get; set;}
Single SpinnerWidth {get; set;}
Single ZoomSpeed {get; set;}

Methods

void CleanUpLastThumbnail()
bool FocusOnObject(string objectID, string viewID)
ReturnType ResetCamera()
void SetCameraLookAt(Single x, Single y, Single z)
void SetCameraPosition(Single x, Single y, Single z)
void SetFOV(Single fov)
void SetSharedView(GUI3DView sharedView)
ReturnType TakeScreenshot(int width, int height)
void Translate(Single x, Single y, Single z)