Adapt the visibility settings for all properties

This commit is contained in:
Alexander Bock
2023-04-15 09:33:31 +02:00
committed by GitHub
parent 1ef6cb0c02
commit ca916877b2
152 changed files with 2098 additions and 894 deletions
+18 -8
View File
@@ -57,32 +57,39 @@ namespace {
"Texture",
"This value specifies an image that is loaded from disk and is used as a texture "
"that is applied to this sphere. This image is expected to be an equirectangular "
"projection"
"projection",
// @VISIBILITY(2.33)
openspace::properties::Property::Visibility::User
};
constexpr openspace::properties::Property::PropertyInfo MirrorTextureInfo = {
"MirrorTexture",
"Mirror Texture",
"Mirror the texture along the x-axis"
"Mirror the texture along the x-axis",
openspace::properties::Property::Visibility::User
};
constexpr openspace::properties::Property::PropertyInfo OrientationInfo = {
"Orientation",
"Orientation",
"Specifies whether the texture is applied to the inside of the sphere, the "
"outside of the sphere, or both"
"outside of the sphere, or both",
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo SegmentsInfo = {
"Segments",
"Number of Segments",
"This value specifies the number of segments that the sphere is separated in"
"This value specifies the number of segments that the sphere is separated in",
// @VISIBILITY(2.67)
openspace::properties::Property::Visibility::User
};
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
"Size",
"Size (in meters)",
"This value specifies the radius of the sphere in meters"
"This value specifies the radius of the sphere in meters",
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo FadeOutThresholdInfo = {
@@ -90,7 +97,8 @@ namespace {
"Fade-Out Threshold",
"This value determines percentage of the sphere that is visible before starting "
"to fade it out. A negative or zero value means no fading out will happen. This "
"is also the default"
"is also the default",
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo FadeInThresholdInfo = {
@@ -99,13 +107,15 @@ namespace {
"This value determines the distance from center of MilkyWay from where the "
"astronomical object starts to fade in, given as a percentage of the size of "
"the object. A negative or zero value means no fading in will happen. This is "
"also the default"
"also the default",
openspace::properties::Property::Visibility::AdvancedUser
};
constexpr openspace::properties::Property::PropertyInfo DisableFadeInOutInfo = {
"DisableFadeInOut",
"Disable Fade-In/Fade-Out effects",
"Enables/Disables the fade in and out effects"
"Enables/Disables the fade in and out effects",
openspace::properties::Property::Visibility::User
};
struct [[codegen::Dictionary(RenderableSphere)]] Parameters {