Class Model3DFormat (Excel VBA)

The class Model3DFormat represents the properties of a 3D model shape.

Class Shape gives access to class Model3DFormat.

Methods

IncrementRotationX - Changes the rotation of the specified shape around the x-axis by the specified number of degrees.

IncrementRotationY - Changes the rotation of the specified shape around the y-axis by the specified number of degrees.

IncrementRotationZ - Changes the rotation of the specified shape around the z-axis by the specified number of degrees.

ResetModel - Changes the rotation of the specified shape around the x-axis by the specified number of degrees.

Properties

AutoFit returns whether AutoFit is enabled for the model.

CameraPositionX returns the x-coordinate of a 3D model object's camera position.

CameraPositionY returns the y-coordinate of a 3D model object's camera position.

CameraPositionZ returns the z-coordinate of a 3D model object's camera position.

FieldOfView returns the field-of-view angle of a 3D model object's camera, expressed in degrees.

LookAtPointX returns the x-coordinate of a 3D model object's camera look-at position.

LookAtPointY returns the y-coordinate of a 3D model object's camera look-at position.

LookAtPointZ returns the z-coordinate of a 3D model object's camera look-at position.

RotationX returns the x-angle of a 3D model object's rotation.

RotationY returns the y-angle of a 3D model object's rotation.

RotationZ returns the z-angle of a 3D model object's rotation.