Package com.fs.starfarer.api.campaign
Interface PlanetSpecAPI
- All Superinterfaces:
WithSourceMod
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAOrAn()
float
float
float
Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here.float
org.lwjgl.util.vector.Vector3f
getName()
float
getPitch()
float
float
float
float
float
getTags()
float
getTilt()
boolean
boolean
boolean
boolean
boolean
boolean
isPulsar()
boolean
isStar()
boolean
void
setAtmosphereColor
(Color atmosphereColor) void
setAtmosphereThickness
(float atmosphereThickness) void
setAtmosphereThicknessMin
(float atmosphereThicknessMin) void
setBlackHole
(boolean isBlackHole) void
setCloudColor
(Color cloudColor) void
setCloudRotation
(float cloudRotation) void
setCloudTexture
(String textureName) void
setCoronaColor
(Color coronaColor) void
setCoronaSize
(float coronaSize) void
setCoronaTexture
(String coronaTexture) Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here.void
setDescriptionId
(String descriptionId) void
setDoNotShowInCombat
(boolean doNotShowInCombat) void
setGlowColor
(Color glowColor) void
setGlowTexture
(String glowTexture) Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here.void
setIconColor
(Color iconColor) void
setNebulaCenter
(boolean isNebulaCenter) void
setPitch
(float pitch) void
setPlanetColor
(Color planetColor) void
setPulsar
(boolean isPulsar) void
setRotation
(float rotation) void
setScaleMultMapIcon
(float scaleMultMapIcon) void
setScaleMultStarscapeIcon
(float scaleMultStarscapeIcon) void
setShieldColor
(Color shieldColor) void
setShieldColor2
(Color shieldColor2) void
setShieldTexture
(String shieldTexture) void
setShieldTexture2
(String shieldTexture2) void
setShieldThickness
(float shieldThickness) void
setShieldThickness2
(float shieldThickness2) void
setStarscapeIcon
(String starscapeIcon) void
setTexture
(String texture) Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here.void
setTilt
(float tilt) void
setUseReverseLightForGlow
(boolean useReverseLightForGlow) Methods inherited from interface com.fs.starfarer.api.loading.WithSourceMod
getSourceMod
-
Method Details
-
getName
String getName() -
getTilt
float getTilt() -
getPitch
float getPitch() -
getRotation
float getRotation() -
getPlanetColor
Color getPlanetColor() -
getAtmosphereThickness
float getAtmosphereThickness() -
getAtmosphereColor
Color getAtmosphereColor() -
isStar
boolean isStar() -
getPlanetType
String getPlanetType() -
getAtmosphereThicknessMin
float getAtmosphereThicknessMin() -
getLightPosition
org.lwjgl.util.vector.Vector3f getLightPosition() -
getCloudRotation
float getCloudRotation() -
getIconColor
Color getIconColor() -
getCloudColor
Color getCloudColor() -
setTilt
void setTilt(float tilt) -
setPitch
void setPitch(float pitch) -
setRotation
void setRotation(float rotation) -
setPlanetColor
-
setCloudRotation
void setCloudRotation(float cloudRotation) -
setAtmosphereThickness
void setAtmosphereThickness(float atmosphereThickness) -
setAtmosphereThicknessMin
void setAtmosphereThicknessMin(float atmosphereThicknessMin) -
setAtmosphereColor
-
setCloudColor
-
setIconColor
-
getCoronaSize
float getCoronaSize() -
setCoronaSize
void setCoronaSize(float coronaSize) -
getCoronaColor
Color getCoronaColor() -
setCoronaColor
-
getCloudTexture
String getCloudTexture()Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here. The texture needs to already be loaded (which textures from settings.json will be). Do NOT just pass in a filename for a texture that's not already loaded.- Returns:
-
setCloudTexture
-
setTexture
Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here. The texture needs to already be loaded (which textures from settings.json will be). Do NOT just pass in a filename for a texture that's not already loaded. -
getTexture
String getTexture() -
getCoronaTexture
String getCoronaTexture() -
setCoronaTexture
Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here. The texture needs to already be loaded (which textures from settings.json will be). Do NOT just pass in a filename for a texture that's not already loaded. -
setGlowTexture
Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here. The texture needs to already be loaded (which textures from settings.json will be). Do NOT just pass in a filename for a texture that's not already loaded. -
getGlowTexture
String getGlowTexture() -
getGlowColor
Color getGlowColor() -
setGlowColor
-
isUseReverseLightForGlow
boolean isUseReverseLightForGlow() -
setUseReverseLightForGlow
void setUseReverseLightForGlow(boolean useReverseLightForGlow) -
getIconTexture
String getIconTexture() -
getAOrAn
String getAOrAn() -
isBlackHole
boolean isBlackHole() -
setBlackHole
void setBlackHole(boolean isBlackHole) -
isNebulaCenter
boolean isNebulaCenter() -
setNebulaCenter
void setNebulaCenter(boolean isNebulaCenter) -
getScaleMultMapIcon
float getScaleMultMapIcon() -
setScaleMultMapIcon
void setScaleMultMapIcon(float scaleMultMapIcon) -
getScaleMultStarscapeIcon
float getScaleMultStarscapeIcon() -
setScaleMultStarscapeIcon
void setScaleMultStarscapeIcon(float scaleMultStarscapeIcon) -
getStarscapeIcon
String getStarscapeIcon() -
setStarscapeIcon
-
isPulsar
boolean isPulsar() -
setPulsar
void setPulsar(boolean isPulsar) -
getShieldThickness
float getShieldThickness() -
setShieldThickness
void setShieldThickness(float shieldThickness) -
getShieldTexture
String getShieldTexture() -
setShieldTexture
-
getShieldColor
Color getShieldColor() -
setShieldColor
-
getShieldTexture2
String getShieldTexture2() -
setShieldTexture2
-
getShieldThickness2
float getShieldThickness2() -
setShieldThickness2
void setShieldThickness2(float shieldThickness2) -
getShieldColor2
Color getShieldColor2() -
setShieldColor2
-
isDoNotShowInCombat
boolean isDoNotShowInCombat() -
setDoNotShowInCombat
void setDoNotShowInCombat(boolean doNotShowInCombat) -
isGasGiant
boolean isGasGiant() -
getDescriptionId
String getDescriptionId() -
setDescriptionId
-
getTags
-
addTag
-
hasTag
-