Package gaiasky.render
Interface IFadeObject
- All Known Implementing Classes:
AbstractOctreeWrapper
,BackgroundModel
,BillboardGroup
,FadeNode
,GenericCatalog
,MeshObject
,MilkyWay
,OctreeWrapper
,OrbitalElementsGroup
,ParticleGroup
,RecursiveGrid
,SphericalGrid
,StarGroup
,Text2D
public interface IFadeObject
-
Method Summary
Modifier and TypeMethodDescriptionGets the fade in distances.Gets the fade out distances.void
setFadeIn
(double nearPc, double farPc) Sets the near and far fade in distances.void
setFadeOut
(double nearPc, double farPc) Sets the near and far fade out distances.
-
Method Details
-
getFadeIn
Vector2d getFadeIn()Gets the fade in distances.- Returns:
- The fade in distances in internal units.
-
setFadeIn
void setFadeIn(double nearPc, double farPc) Sets the near and far fade in distances.- Parameters:
nearPc
- Near fade in distance in parsecs.farPc
- Far fade in distance in parsecs.
-
getFadeOut
Vector2d getFadeOut()Gets the fade out distances.- Returns:
- The fade out distances in internal units.
-
setFadeOut
void setFadeOut(double nearPc, double farPc) Sets the near and far fade out distances.- Parameters:
nearPc
- Near fade out distance in parsecs.farPc
- Far fade out distance in parsecs.
-