Ejemplo n.º 1
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("center", center);
     writer.writeKeyVal("size", size);
     writer.endObject();
 }
Ejemplo n.º 2
0
        public bool isNull;       // = false;

        public void writeRawJsonValue(FastJsonWriter writer)
        {
            writer.beginRawObject();
            writer.writeKeyVal("instanceId", instId);
            writer.writeKeyVal("isNull", isNull);
            writer.endObject();
        }
Ejemplo n.º 3
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("min", min);
     writer.writeKeyVal("max", max);
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject(false);
     writer.writeKeyVal("time", time, false);
     writer.writeKeyVal("frame", frame, false);
     writer.writeKeyVal("val", val, false);
     writer.endObject(false);
 }
Ejemplo n.º 5
0
        public override void writeJsonObjectFields(FastJsonWriter writer)
        {
            writer.writeKeyVal("id", id);
            writer.writeKeyVal("name", name);
            //writer.writeKeyVal("defaultBoneNames", defaultBoneNames);

            writer.writeKeyVal("bones", bones);
        }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("time", time);
     writer.writeKeyVal("frame", frame);
     writer.writeKeyVal("local", local);
     writer.writeKeyVal("world", world);
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("prefabId", prefabId);
     writer.writeKeyVal("prefabObjectId", prefabObjectId);
     writer.writeKeyVal("meshId", meshIdData.meshId);
     writer.writeKeyVal("meshMaterials", meshIdData.meshMaterials);
     writer.endObject();
 }
Ejemplo n.º 8
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("objectName", objectName);
     writer.writeKeyVal("objectPath", objectPath);
     writer.writeKeyVal("length", (keys != null) ? keys.Count: 0);
     writer.writeKeyVal("keys", keys);
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("name", name);
     writer.writeKeyVal("index", index);
     writer.writeKeyVal("numFrames", numFrames);
     writer.writeKeyVal("frames", frames);
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("length", length);
     writer.writeKeyVal("preWrapMode", preWrapMode);
     writer.writeKeyVal("postWrapMode", postWrapMode);
     writer.writeKeyVal("keys", keys);
     writer.endObject();
 }
Ejemplo n.º 11
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("name", name);
     writer.writeKeyVal("path", path);
     writer.writeKeyVal("buildIndex", buildIndex);
     writeJsonObjectFields(writer);            //the hell? Why?
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("name", name);
     writer.writeKeyVal("pivot", pivot);
     writer.writeKeyVal("border", border);
     writer.writeKeyVal("alignment", alignment);
     writer.writeKeyVal("rect", rect);
     writer.endObject();
 }
Ejemplo n.º 13
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("propertyName", binding.propertyName);
     writer.writeKeyVal("isDiscreteCurve", binding.isDiscreteCurve);
     writer.writeKeyVal("isPPtrCurve", binding.isPPtrCurve);
     writer.writeKeyVal("path", binding.path);
     writer.writeKeyVal("curves", curves);
     writer.endObject();
 }
Ejemplo n.º 14
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("name", animParam.name);
     writer.writeKeyVal("animType", animParam.type.ToString());
     writer.writeKeyVal("defaultBool", animParam.defaultBool);
     writer.writeKeyVal("defaultInt", animParam.defaultInt);
     writer.writeKeyVal("defaultFloat", animParam.defaultFloat);
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("lightmapIndex", lightmapIndex);
     writer.writeKeyVal("shadowCastingMode", shadowCastingMode);
     writer.writeKeyVal("lightmapScaleOffset", lightmapScaleOffset);
     writer.writeKeyVal("materials", materials);
     writer.writeKeyVal("receiveShadows", receiveShadows);
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("index", index);
     writer.writeKeyVal("weight", weight);
     writer.writeKeyVal("deltaVerts", deltaVerts, 3 * JsonMesh.vertsPerLine);
     writer.writeKeyVal("deltaNormals", deltaNormals, 3 * JsonMesh.vertsPerLine);
     writer.writeKeyVal("deltaTangents", deltaTangents, 3 * JsonMesh.vertsPerLine);
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("damper", joint.damper);
     writer.writeKeyVal("maxDistance", joint.maxDistance);
     writer.writeKeyVal("minDistance", joint.minDistance);
     writer.writeKeyVal("spring", joint.spring);
     writer.writeKeyVal("tolerance", joint.tolerance);
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("name", name);
     writer.writeKeyVal("assetPath", assetPath);
     writer.writeKeyVal("skeleton", skeleton);
     writer.writeKeyVal("animatorController", animatorController);
     writer.writeKeyVal("attachedObjects", attachedObjects);
     writer.endObject();
 }
        public void writeRawJsonValue(FastJsonWriter writer)
        {
            writer.beginRawObject(false);

            writer.writeKeyVal("x", x, false);
            writer.writeKeyVal("y", y, false);
            writer.writeKeyVal("z", z, false);
            writer.writeKeyVal("pos", pos, false);

            writer.endObject(false);
        }
Ejemplo n.º 20
0
 //public int objectInstanceId = -1;
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject(false);
     writer.writeKeyVal("boneName", boneName, false);
     writer.writeKeyVal("objectName", objectName, false);
     writer.writeKeyVal("objectPath", objectPath, false);
     //writer.writeKeyVal("objectId", objectId, false);
     writer.writeKeyVal("objInstanceId", objInstanceId, false);
     writer.writeKeyVal("transfInstanceId", transfInstanceId, false);
     writer.endObject(false);
 }
Ejemplo n.º 21
0
        public void writeRawJsonValue(FastJsonWriter writer)
        {
            writer.beginRawObject();
            writer.writeKeyVal("name", name);
            writer.writeKeyVal("path", path);
            writer.writeKeyVal("id", id);

            writer.writeKeyVal("parameters", parameters);
            //writer.writeKeyVal("animations", animations);
            writer.writeKeyVal("animationIds", animationIds);
            writer.endObject();
        }
Ejemplo n.º 22
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("objectName", objectName);
     writer.writeKeyVal("objectPath", objectPath);
     //writer.writeKeyVal("isDiscrete", isDiscrete);
     writer.writeKeyVal("length", (keys != null) ? keys.Count: 0);
     //writer.writeKeyVal("preWrapMode", preWrapMode);
     //writer.writeKeyVal("postWrapMode", postWrapMode);
     writer.writeKeyVal("keys", keys);
     writer.endObject();
 }
 public override void writeJsonObjectFields(FastJsonWriter writer)
 {
     writer.writeKeyVal("prefabs", prefabs);
     writer.writeKeyVal("terrains", terrains);
     writer.writeKeyVal("materials", materials);
     writer.writeKeyVal("meshes", meshes);
     writer.writeKeyVal("textures", textures);
     writer.writeKeyVal("cubemaps", cubemaps);
     writer.writeKeyVal("animatorControllers", animatorControllers);
     writer.writeKeyVal("animationClips", animationClips);
     writer.writeKeyVal("audioClips", audioClips);
     writer.writeKeyVal("resources", resources);
 }
Ejemplo n.º 24
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("enableProjection", joint.enableProjection);
     writer.writeKeyVal("highTwistLimit", joint.highTwistLimit);
     writer.writeKeyVal("lowTwistLimit", joint.lowTwistLimit);
     writer.writeKeyVal("projectionAngle", joint.projectionAngle);
     writer.writeKeyVal("projectionDistance", joint.projectionDistance);
     writer.writeKeyVal("swing1Limit", joint.swing1Limit);
     writer.writeKeyVal("swing2Limit", joint.swing2Limit);
     writer.writeKeyVal("swingAxis", joint.swingAxis);
     writer.writeKeyVal("swingLimitSpring", joint.swingLimitSpring);
     writer.writeKeyVal("twistLimitSpring", joint.twistLimitSpring);
     writer.endObject();
 }
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("initialized", initialized);
     writeImporterData(writer);
     writer.endObject();
 }
Ejemplo n.º 26
0
        public void writeRawJsonValue(FastJsonWriter writer)
        {
            writer.beginRawObject();
            writer.writeKeyVal("id", id);
            writer.writeKeyVal("name", name);
            writer.writeKeyVal("exportPath", exportPath);
            writer.writeKeyVal("rawPath", rawPath);
            writer.writeKeyVal("assetPath", assetPath);
            writer.writeKeyVal("needConversion", needConversion);
            writer.writeKeyVal("isHdr", isHdr);
            writer.writeKeyVal("format", format);

            writer.writeKeyVal("texParams", texParams);
            writer.writeKeyVal("texImportParams", texImportParams);

            writer.endObject();
        }
Ejemplo n.º 27
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("bounceIntensity", bounceIntensity);
     writer.writeKeyVal("color", color);
     writer.writeKeyVal("intensity", intensity);
     writer.writeKeyVal("range", range);
     writer.writeKeyVal("renderMode", renderMode);
     writer.writeKeyVal("shadows", shadows);
     writer.writeKeyVal("shadowStrength", shadowStrength);
     writer.writeKeyVal("spotAngle", spotAngle);
     writer.writeKeyVal("type", type);
     writer.endObject();
 }
Ejemplo n.º 28
0
        public void writeRawJsonValue(FastJsonWriter writer)
        {
            writer.beginRawObject();
            writer.writeKeyVal("quality", quality);
            writer.writeKeyVal("skinnedMotionVectors", skinnedMotionVectors);
            writer.writeKeyVal("updateWhenOffscreen", updateWhenOffscreen);
            writer.writeKeyVal("boneNames", boneNames);
            writer.writeKeyVal("boneIds", boneIds);
            writer.writeKeyVal("boneTransforms", boneTransforms);

            writer.writeKeyVal("meshId", meshId);
            writer.writeKeyVal("materials", materials);
            writer.endObject();
        }
Ejemplo n.º 29
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject(false);
     writer.writeKeyVal("time", key.time, false);
     writer.writeKeyVal("value", key.value, false);
     writer.writeKeyVal("weightedMode", weightedModeToInt(key.weightedMode), false);            //(int)key.weightedMode);
     writer.writeKeyVal("inTangent", key.inTangent, false);
     writer.writeKeyVal("inWeight", key.inWeight, false);
     writer.writeKeyVal("outTangent", key.outTangent, false);
     writer.writeKeyVal("outWeight", key.outWeight, false);
     writer.endObject(false);
 }
Ejemplo n.º 30
0
 public void writeRawJsonValue(FastJsonWriter writer)
 {
     writer.beginRawObject();
     writer.writeKeyVal("angle", joint.angle);
     writer.writeKeyVal("limits", joint.limits);
     writer.writeKeyVal("motor", joint.motor);
     writer.writeKeyVal("spring", joint.spring);
     writer.writeKeyVal("useLimits", joint.useLimits);
     writer.writeKeyVal("useMotor", joint.useMotor);
     writer.writeKeyVal("useSpring", joint.useSpring);
     writer.endObject();
 }