The Sphere type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Sphere | Overloaded. |
Methods
Name | Description | |
---|---|---|
![]() | CopyIModel |
This methods returns a copy of the sphere 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 sphere'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.) |
![]() | _radio |
This field represents the sphere's radius
|
![]() | _spin |
ThIs field representS the amount of radians that the sphere 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 sphere's color
|
![]() | HtmColor |
Gets/Sets the sphere´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
|
![]() | Position |
This vector represents the Model position
(Inherited from Model.) |
![]() | Radio |
This field represents the sphere's radius
|
![]() | Rot |
ThIs field representS the amount of radians that the sphere 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 method represents the transparency of the sphere
|
![]() | 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.) |