Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
OOPlanetDrawable Class Reference

#include <OOPlanetDrawable.h>

+ Inheritance diagram for OOPlanetDrawable:
+ Collaboration diagram for OOPlanetDrawable:

Instance Methods

(id) - initAsAtmosphere
 
(OOMaterial *) - material
 
(void) - setMaterial:
 
(NSString *) - textureName
 
(void) - setTextureName:
 
(float) - radius
 
(void) - setRadius:
 
(float) - levelOfDetail
 
(void) - setLevelOfDetail:
 
(void) - calculateLevelOfDetailForViewDistance:
 
(void) - renderTranslucentPartsOnOpaquePass
 
- Instance Methods inherited from OODrawable
(void) - renderOpaqueParts
 
(void) - renderTranslucentParts
 
(BOOL) - hasOpaqueParts
 
(BOOL) - hasTranslucentParts
 
(GLfloat) - collisionRadius
 
(GLfloat) - maxDrawDistance
 
(BoundingBox) - boundingBox
 
(void) - setBindingTarget:
 
(void) - dumpSelfState
 
(NSSet *) - allTextures
 
(size_t) - totalSize
 

Class Methods

(instancetype) + planetWithTextureName:radius:
 
(instancetype) + atmosphereWithRadius:
 

Private Attributes

OOMaterial_material
 
BOOL _isAtmosphere
 
float _radius
 
OOMatrix _transform
 
unsigned _lod
 

Detailed Description

Definition at line 33 of file OOPlanetDrawable.h.

Method Documentation

◆ atmosphereWithRadius:

+ (instancetype) atmosphereWithRadius: (float) radius

◆ calculateLevelOfDetailForViewDistance:

- (void) calculateLevelOfDetailForViewDistance: (float) distance

◆ initAsAtmosphere

- (id) initAsAtmosphere

◆ levelOfDetail

- (float) levelOfDetail

◆ material

- (OOMaterial *) material

◆ planetWithTextureName:radius:

+ (instancetype) planetWithTextureName: (NSString *) textureName
radius: (float) radius 

◆ radius

- (float) radius

◆ renderTranslucentPartsOnOpaquePass

- (void) renderTranslucentPartsOnOpaquePass

◆ setLevelOfDetail:

- (void) setLevelOfDetail: (float) lod

◆ setMaterial:

- (void) setMaterial: (OOMaterial *) material

◆ setRadius:

- (void) setRadius: (float) radius

◆ setTextureName:

- (void) setTextureName: (NSString *) textureName

◆ textureName

- (NSString *) textureName

Member Data Documentation

◆ _isAtmosphere

- (BOOL) _isAtmosphere
private

Definition at line 38 of file OOPlanetDrawable.h.

◆ _lod

- (unsigned) _lod
private

Definition at line 41 of file OOPlanetDrawable.h.

◆ _material

- (OOMaterial*) _material
private

Definition at line 37 of file OOPlanetDrawable.h.

◆ _radius

- (float) _radius
private

Definition at line 39 of file OOPlanetDrawable.h.

◆ _transform

- (OOMatrix) _transform
private

Definition at line 40 of file OOPlanetDrawable.h.


The documentation for this class was generated from the following file: