コード例 #1
0
        public void WriteJson(JsonWriter writer)
        {
            writer.WriteStartObject();

            writer.WritePropertyName(nameof(NumNameIndexes));
            writer.WriteValue(NumNameIndexes);

            writer.WritePropertyName(nameof(NumDummies));
            writer.WriteValue(NumDummies);

            writer.WritePropertyName(nameof(NameLength));
            writer.WriteValue(NameLength);

            writer.WritePropertyName(nameof(PointMaterial));
            writer.WriteValue(PointMaterial);

            writer.WritePropertyName(nameof(PointRadius));
            writer.WriteRawValue(PointRadius.ToRoundTripString());

            writer.WritePropertyName(nameof(NumMaterials));
            writer.WriteValue(NumMaterials);

            writer.WritePropertyName(nameof(ShadowNameLength0));
            writer.WriteValue(ShadowNameLength0);

            writer.WritePropertyName(nameof(ShadowNameLength1));
            writer.WriteValue(ShadowNameLength1);

            writer.WritePropertyName(nameof(ShadowNameLength2));
            writer.WriteValue(ShadowNameLength2);

            writer.WritePropertyName(nameof(AnimationLength));
            writer.WriteRawValue(AnimationLength.ToRoundTripString());

            writer.WritePropertyName(nameof(MaterialLibraryTimestamp));
            writer.WriteValue(MaterialLibraryTimestamp);

            writer.WritePropertyName(nameof(Reserved));
            writer.WriteRawValue(Reserved.ToRoundTripString());

            writer.WritePropertyName(nameof(ExportedScaleFactor));
            writer.WriteRawValue(ExportedScaleFactor.ToRoundTripString());

            writer.WritePropertyName(nameof(NumNonUniformKeys));
            writer.WriteValue(NumNonUniformKeys);

            writer.WritePropertyName(nameof(NumUniqueMaterials));
            writer.WriteValue(NumUniqueMaterials);

            writer.WriteEndObject();
        }
コード例 #2
0
 public bool Overlaps(PointRadius <T> b)
 {
     return(PointRadius <T> .Overlaps(this, b));
 }
コード例 #3
0
 public Space <T> Intersect(PointRadius <T> b)
 {
     return(PointRadius <T> .Intersect(this, b));
 }
コード例 #4
0
 public bool Contains(Vector <T> vector)
 {
     return(PointRadius <T> .Contains(this, vector));
 }
コード例 #5
0
 public bool Contains(PointRadius <T> b)
 {
     return(PointRadius <T> .Contains(this, b));
 }
コード例 #6
0
 public static Space <T> Complement(PointRadius <T> a, PointRadius <T> b)
 {
     throw new System.NotImplementedException();
 }
コード例 #7
0
 public new static bool Equals(PointRadius <T> a, PointRadius <T> b)
 {
     throw new System.NotImplementedException();
 }
コード例 #8
0
 public static bool Contains(PointRadius <T> range, Vector <T> vector)
 {
     throw new System.NotImplementedException();
 }
コード例 #9
0
 public static bool Overlaps(PointRadius <T> a, PointRadius <T> b)
 {
     throw new System.NotImplementedException();
 }
コード例 #10
0
 /// <summary>Intersection</summary>
 public static Space <T> operator &(PointRadius <T> a, PointRadius <T> b)
 {
     return(PointRadius <T> .Intersect(a, b));
 }
コード例 #11
0
 /// <summary>Union</summary>
 public static Space <T> operator |(PointRadius <T> a, PointRadius <T> b)
 {
     return(PointRadius <T> .Union(a, b));
 }
コード例 #12
0
 /// <summary>Complement</summary>
 public static Space <T> operator ^(PointRadius <T> a, PointRadius <T> b)
 {
     return(PointRadius <T> .Complement(a, b));
 }
コード例 #13
0
 public Space <T> Complement(PointRadius <T> b)
 {
     return(PointRadius <T> .Complement(this, b));
 }
コード例 #14
0
 public Space <T> Union(PointRadius <T> b)
 {
     return(PointRadius <T> .Union(this, b));
 }