Type: BCS.Sym3.Operator.Runtime.IClientSettings
Layout service
Properties
Is3DRenderingEnabled
- Description: Gets or sets if 3D rendering is enabled
- Type: Boolean
- Access: Read and Write
- Example:
This example shows you how to disable rendering
//---- JAVASCRIPT:
Client.Settings.Is3DRenderingEnabled = false;
Is3DRenderingLocked
- Description: Gets or sets if 3D rendering is locked
- Type: Boolean
- Access: Read and Write
- Example:
This example shows you how to lock rendering
//---- JAVASCRIPT:
Client.Settings.Is3DRenderingLocked = true;
Is3DStereoRenderingEnabled
- Description: Gets or sets stereo rendering
- Type: Boolean
- Access: Read and Write
- Example:
This example shows you how to enable stereo rendering
//---- JAVASCRIPT:
Client.Settings.Is3DStereoRenderingEnabled = true;
Methods
Set3DFrameRate(System.Int32)
Set 3D graphics frame rate
- Parameters:
- rate: Frame rate
- Example:
This example shows you how to change frame rate
//---- JAVASCRIPT:
Client.Settings.Set3DFrameRate(20);
SetOutlineEnabled(System.Boolean)
Set outline mode on or off
- Parameters:
- enable:
- Example:
This example shows you how to enable outlining
//---- JAVASCRIPT:
Client.Settings.SetOutlineEnabled(true);
SetShadingModel(BCS.Sym3.ShadingModel)
Set shading model
- Parameters:
- shadingModel: Can be ShadingFlat or ShadingSmooth. See example.
- Example:
This example shows you how to change shading mode
//---- JAVASCRIPT:
Client.Settings.SetShadingModel(BCS.Sym3.ShadingModel.ShadingFlat);
Client.Settings.SetShadingModel(BCS.Sym3.ShadingModel.ShadingSmooth);