Properties
- Property ActiveStatus() As
-
Returns or sets the environment active status.
Only one environment can be active for a product. The active status can be:- 1: environment is activated
- 0: environment is desactivated
- Property FaceNumber() As
-
Returns or sets the spherical environment face number.
The default value for a new spherical environment is 2.
If face number is set to 1, a mapped texture image will covered whole environment sphere.
If face number is set to 2, two different texture images can be mapped for upper hemisphere and lower hemisphere.
N.B. This property is useless for cubical and cylindrical environments. - Property Height() As
- Returns or sets the cubic or cylindrical environment height value.
- Property Length() As
- Returns or sets the cubic environment length value.
- Property Radius() As
- Returns or sets the spherical or cylindrical environment radius value.
- Property Width() As
- Returns or sets the cubic environment width value.
Methods
- Sub GetOrigin( oOrigin)
-
Returns the coordinates of the origin of the environment.
These coordinates are set as an array of 3 Variants (double type). - Func GetType() As
-
Returns the environment type.
- Possible environment types are:
- 1: Cubical environment
- 2: Spherical environment
- 3: Cylindrical environment
- Sub GetVerticalAxis( oAxis)
-
Returns the coordinates of the vertical axis vector of the environment.
These coordinates are set as an array of 3 Variants (double type). - Func GetWall( iType) As
-
Returns the environment walls.
The environment wall type can be:- 1: North wall (for cubical and cylindrical environments)
- 2: South wall (for cubical and cylindrical environments)
- 3: East wall (for cubical environments)
- 4: West wall (for cubical environments)
- 5: Top wall (for cubical, cylindrical and shperical environments)
- 6: Bottom wall (for cubical, cylindrical and shperical environments)
- Sub PutOrigin( iOrigin)
-
Sets the coordinates of the origin of the environment.
These coordinates are set as an array of 3 Variants (double type).- Example:
-
This example sets the origin of the MyEnvironment environment.
to the point with coordinates (10, 25, 15).
MyEnvironment.PutOrigin Array(10, 25, 15)
- Sub PutVerticalAxis( iAxis)
-
Sets the coordinates of the vertical axis vector of the environment.
These coordinates are set as an array of 3 Variants (double type).