ViewWindow.SetObjectOpacity(Variable, Variable) Method

Top 

Description

Sets the opacity of the specified object.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

ViewWindow.SetObjectOpacity(

Variable objectId,


Variable opacity)

 

 

Arguments

objectId


Description:

The unique identifier of the object for which to change the opacity

Valid Range:

objectId ≥ 0

 

 

opacity


Description:

The opacity.

Valid Range:

0 ≤ opacity ≤ 1

 

 

 

Return Value

Type:

number

 

 

The return value is not used.

 

Syntax

myVariable1 = myViewWindow1.SetObjectOpacity(myVariable2, myVariable3);

 

 

See also

ViewWindow Object

ViewWindow.SetObjectOpacity

ViewWindow Guide