| 54 | #if USE_EDITOR |
| 55 | |
| 56 | void PhysicsSettings::Serialize(SerializeStream& stream, const void* otherObj) |
| 57 | { |
| 58 | SERIALIZE_GET_OTHER_OBJ(PhysicsSettings); |
| 59 | |
| 60 | SERIALIZE(DefaultGravity); |
| 61 | SERIALIZE(TriangleMeshTriangleMinAreaThreshold); |
| 62 | SERIALIZE(BounceThresholdVelocity); |
| 63 | SERIALIZE(FrictionCombineMode); |
| 64 | SERIALIZE(RestitutionCombineMode); |
| 65 | SERIALIZE(DisableCCD); |
| 66 | SERIALIZE(BroadPhaseType); |
| 67 | SERIALIZE(SolverType); |
| 68 | SERIALIZE(MaxDeltaTime); |
| 69 | SERIALIZE(EnableSubstepping); |
| 70 | SERIALIZE(SubstepDeltaTime); |
| 71 | SERIALIZE(MaxSubsteps); |
| 72 | SERIALIZE(QueriesHitTriggers); |
| 73 | SERIALIZE(SupportCookingAtRuntime); |
| 74 | |
| 75 | stream.JKEY("LayerMasks"); |
| 76 | stream.StartArray(); |
| 77 | for (uint32 e : LayerMasks) |
| 78 | stream.Uint(e); |
| 79 | stream.EndArray(); |
| 80 | } |
| 81 | |
| 82 | #endif |
| 83 |
nothing calls this directly
no test coverage detected