Make SReflection a nullable
This commit is contained in:
1 parent
ad3f01aded
commit
eca0dd68ca
34 files changed
+179
-958
No files matched your search
+1
-13
@@ -237,23 +237,11 @@ namespace VocaluxeLib
|
||||
[XmlRoot("Reflection")]
|
||||
public struct SReflection
|
||||
{
|
||||
[XmlAttribute] public bool Enabled;
|
||||
public float Height;
|
||||
public float Space;
|
||||
|
||||
//Needed for serialization
|
||||
public bool HeightSpecified
|
||||
public SReflection(float height, float space)
|
||||
{
|
||||
get { return Enabled; }
|
||||
}
|
||||
public bool SpaceSpecified
|
||||
{
|
||||
get { return Enabled; }
|
||||
}
|
||||
|
||||
public SReflection(bool enabled, float height, float space)
|
||||
{
|
||||
Enabled = enabled;
|
||||
Height = height;
|
||||
Space = space;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user