The Cube type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Cube | Overloaded. |
Methods
Name | Description | |
---|---|---|
CopyIModel |
This methods returns a copy of the cube Model
(Overrides Model..::.CopyIModel()()().) | |
DrawHead |
This method should draw the object as it would look like if we look at it through an eye located between the 2 observer eyes
(Overrides Model..::.DrawHead()()().) | |
DrawLeftEye |
This method should draw the object as it would look like if we look at it through the observer's left eye
(Overrides Model..::.DrawLeftEye()()().) | |
DrawRightEye |
This method should draw the object as it would look like if we look at it through the observer's right eye
(Overrides Model..::.DrawRightEye()()().) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
LoadGlTexture |
This method load the texture
| |
MaxDistanceToObserver |
This method claculates the maximun distance to the observer
(Overrides Model..::.MaxDistanceToObserver(Observer).) | |
MemberwiseClone | (Inherited from Object.) | |
SetMaterial |
This method sets the material properties
| |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
_color |
This field represents the cube's color
| |
_layer |
This field tell us the layer the model belongs to
(Inherited from Model.) | |
_position |
This vector represents the Model position
(Inherited from Model.) | |
_size |
This field represents the cube's size
| |
_spin |
ThIs field representS the amount of radians that the cube is turned
| |
_visibleLeftEye |
This field represents if the model can be seen by the left eye
(Inherited from Model.) | |
_visibleRightEye |
This field represents if the model can be seen by the right eye
(Inherited from Model.) |
Properties
Name | Description | |
---|---|---|
Center |
Gets and sets the center
| |
Color |
This field represents the cube's color
| |
HtmColor |
Gets/Sets the cube´s color in html format
That's because a Color cannot be automatically
serialized/deserialized using the
.NET System.Xml.Serialization.XmlSerializer class
| |
Layer |
This field tell us the layer the model belongs to
(Inherited from Model.) | |
Pos |
This field represents the position of the cube
| |
Position |
This vector represents the Model position
(Inherited from Model.) | |
Rot |
ThIs field representS the amount of radians that the cube is turned
| |
Scale |
Gets and sets the scale
| |
ScaleOrientation |
Gets and sets de scale orientation
| |
Spin |
This field representS the amount of radians that the sphere is turned
| |
Transparent |
This field represents the cube's transparency
| |
Visible |
This field represent the visibility of the model
(Inherited from Model.) | |
VisibleLeftEye |
This field represents if the model can be seen by the left eye
(Inherited from Model.) | |
VisibleRightEye |
This field represents if the model can be seen by the left eye
(Inherited from Model.) |