Exemplo n.º 1
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => comment);
     f.KeyValue(() => stiffiness);
     f.KeyValue(() => gravityPower);
     f.KeyValue(() => gravityDir);
     f.KeyValue(() => dragForce);
     f.KeyValue(() => center);
     f.KeyValue(() => hitRadius);
     f.KeyValue(() => bones);
     f.KeyValue(() => colliderGroups);
 }
Exemplo n.º 2
0
        protected override void SerializeMembers(GLTFJsonFormatter f)
        {
            f.KeyValue(() => rangeOfMovementRestriction);

            f.KeyValue(() => limitRadius);
            f.KeyValue(() => limitRectLeft);
            f.KeyValue(() => limitRectRight);
            f.KeyValue(() => limitRectForward);
            f.KeyValue(() => limitRectBackward);

            f.KeyValue(() => postureRestriction);
        }
Exemplo n.º 3
0
        protected override void SerializeMembers(GLTFJsonFormatter f)
        {
            f.KeyValue(() => firstPersonBone);
            f.KeyValue(() => firstPersonBoneOffset);
            f.Key("meshAnnotations"); f.GLTFValue(meshAnnotations);

            f.KeyValue(() => lookAtTypeName);
            f.Key("lookAtHorizontalInner"); f.GLTFValue(lookAtHorizontalInner);
            f.Key("lookAtHorizontalOuter"); f.GLTFValue(lookAtHorizontalOuter);
            f.Key("lookAtVerticalDown"); f.GLTFValue(lookAtVerticalDown);
            f.Key("lookAtVerticalUp"); f.GLTFValue(lookAtVerticalUp);
        }
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.Key("bone"); f.Value((string)bone.ToString());
     f.KeyValue(() => node);
     f.KeyValue(() => useDefaultValues);
     if (!useDefaultValues)
     {
         f.KeyValue(() => min);
         f.KeyValue(() => max);
         f.KeyValue(() => center);
         f.KeyValue(() => axisLength);
     }
 }
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => name);
     f.KeyValue(() => renderQueue);
     f.KeyValue(() => shader);
     {
         f.Key("floatProperties"); f.BeginMap();
         foreach (var kv in floatProperties)
         {
             f.Key(kv.Key); f.Value(kv.Value);
         }
         f.EndMap();
     }
     {
         f.Key("vectorProperties"); f.BeginMap();
         foreach (var kv in vectorProperties)
         {
             f.Key(kv.Key); f.Serialize(kv.Value.ToArray());
         }
         f.EndMap();
     }
     {
         f.Key("textureProperties"); f.BeginMap();
         foreach (var kv in textureProperties)
         {
             f.Key(kv.Key); f.Value(kv.Value);
         }
         f.EndMap();
     }
     {
         f.Key("keywordMap"); f.BeginMap();
         foreach (var kv in keywordMap)
         {
             f.Key(kv.Key); f.Value(kv.Value);
         }
         f.EndMap();
     }
     {
         f.Key("tagMap"); f.BeginMap();
         foreach (var kv in tagMap)
         {
             f.Key(kv.Key); f.Value(kv.Value);
         }
         f.EndMap();
     }
 }
Exemplo n.º 6
0
        protected override void SerializeMembers(GLTFJsonFormatter f)
        {
            f.KeyValue(() => version);

            f.KeyValue(() => author);
            f.KeyValue(() => contactInformation);
            f.KeyValue(() => reference);

            f.KeyValue(() => title);
            f.KeyValue(() => texture);

            f.KeyValue(() => allowedUserName);
            f.KeyValue(() => violentUssageName);
            f.KeyValue(() => sexualUssageName);
            f.KeyValue(() => commercialUssageName);
            f.KeyValue(() => otherPermissionUrl);

            f.KeyValue(() => licenseName);
            f.KeyValue(() => otherLicenseUrl);
        }
Exemplo n.º 7
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => materialName);
     f.KeyValue(() => propertyName);
     f.KeyValue(() => targetValue);
 }
Exemplo n.º 8
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.Key("blendShapeGroups"); f.GLTFValue(blendShapeGroups);
 }
Exemplo n.º 9
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => blendShapeGroups);
 }
Exemplo n.º 10
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => offset);
     f.KeyValue(() => radius);
 }
Exemplo n.º 11
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.Key("boneGroups"); f.GLTFValue(boneGroups);
     f.Key("colliderGroups"); f.GLTFValue(colliderGroups);
 }
Exemplo n.º 12
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => node);
     f.Key("colliders"); f.GLTFValue(colliders);
 }
Exemplo n.º 13
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => bounds_center);
     f.KeyValue(() => bounds_size);
 }
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => text);
 }
Exemplo n.º 15
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => mesh);
     f.KeyValue(() => index);
     f.KeyValue(() => weight);
 }
Exemplo n.º 16
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => mesh);
     f.KeyValue(() => firstPersonFlag);
 }
Exemplo n.º 17
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => boneGroups);
     f.KeyValue(() => colliderGroups);
 }