예제 #1
0
 public static FBXElem FBXPropertyElement(FBXPropertyType PropertyType, string Name, string A, string B, string C)
 {
     return new FBXElem
     {
         ID = "P",
         Properties =
             {
                 new FBXProperty { Type = 83, Value = Name },
                 new FBXProperty { Type = 83, Value = A },
                 new FBXProperty { Type = 83, Value = B },
                 new FBXProperty { Type = 83, Value = C }
             }
     };
 }
예제 #2
0
 public static FBXElem FBXPropertyElement(FBXPropertyType PropertyType, string Name, string A, string B, string C, object PropertyValue)
 {
     return new FBXElem
     {
         ID = "P",
         Properties =
             {
                 new FBXProperty { Type = 83, Value = Name },
                 new FBXProperty { Type = 83, Value = A },
                 new FBXProperty { Type = 83, Value = B },
                 new FBXProperty { Type = 83, Value = C },
                 new FBXProperty { Type = (byte)PropertyType, Value = PropertyValue }
             }
     };
 }
예제 #3
0
 public static FBXElem FBXConnection(string parentType, long parent, string childType, long child, FBXPropertyType propertyType, string propertyName)
 {
     Console.WriteLine("Connecting {0} {1} to {2}.{4} {3}", childType, child, parentType, parent, propertyName);
     return new FBXElem
     {
         ID = "C",
         Properties =
         {
             new FBXProperty { Type = 83, Value = "OP" },
             new FBXProperty { Type = 76, Value = child },
             new FBXProperty { Type = 76, Value = parent },
             new FBXProperty { Type = (byte)propertyType, Value = propertyName },
         }
     };
 }
예제 #4
0
 public FBXProperty(string stringProperty)
 {
     propertyType = FBXPropertyType.STRING; this.stringProperty = stringProperty;
 }
예제 #5
0
 public FBXProperty(byte[] rawBytesProperty)
 {
     propertyType = FBXPropertyType.RAW_BYTES; this.rawBytesProperty = rawBytesProperty;
 }
예제 #6
0
 public FBXProperty(float[] singleArrayProperty)
 {
     propertyType = FBXPropertyType.SINGLE_ARRAY; this.singleArrayProperty = singleArrayProperty;
 }
예제 #7
0
 public FBXProperty(double[] doubleArrayProperty)
 {
     propertyType = FBXPropertyType.DOUBLE_ARRAY; this.doubleArrayProperty = doubleArrayProperty;
 }
예제 #8
0
 public FBXProperty(int[] int32ArrayProperty)
 {
     propertyType = FBXPropertyType.INT32_ARRAY; this.int32ArrayProperty = int32ArrayProperty;
 }
예제 #9
0
 public FBXProperty(long[] int64ArrayProperty)
 {
     propertyType = FBXPropertyType.INT64_ARRAY; this.int64ArrayProperty = int64ArrayProperty;
 }
예제 #10
0
 public FBXProperty(double doubleProperty)
 {
     propertyType = FBXPropertyType.DOUBLE; this.doubleProperty = doubleProperty;
 }
예제 #11
0
 public FBXProperty(bool[] boolArrayProperty)
 {
     propertyType = FBXPropertyType.BOOL_ARRAY; this.boolArrayProperty = boolArrayProperty;
 }
예제 #12
0
 public FBXProperty(float singleProperty)
 {
     propertyType = FBXPropertyType.SINGLE; this.singleProperty = singleProperty;
 }
예제 #13
0
 public FBXProperty(long int64Property)
 {
     propertyType = FBXPropertyType.INT64; this.int64Property = int64Property;
 }
예제 #14
0
 public FBXProperty(int int32Property)
 {
     propertyType = FBXPropertyType.INT32; this.int32Property = int32Property;
 }
예제 #15
0
 public FBXProperty(short int16Property)
 {
     propertyType = FBXPropertyType.INT16; this.int16Property = int16Property;
 }
예제 #16
0
 public FBXProperty(bool boolProperty)
 {
     propertyType = FBXPropertyType.BOOL; this.boolProperty = boolProperty;
 }