Hierarchy

  • PhysicsJSON

Properties

Meta: { EffectiveForces: { Gravity: { X: number; Y: number }; Wind: { X: number; Y: number } }; PhysicsDictionary: { Id: string; Name: string }[]; PhysicsSettingCount: number; TotalInputCount: number; TotalOutputCount: number; VertexCount: number }

Additional data describing the physics.

Type declaration

  • EffectiveForces: { Gravity: { X: number; Y: number }; Wind: { X: number; Y: number } }

    Settings of gravity and wind.

    • Gravity: { X: number; Y: number }

      Gravity.

      • X: number
      • Y: number
    • Wind: { X: number; Y: number }

      Wind.

      • X: number
      • Y: number
  • PhysicsDictionary: { Id: string; Name: string }[]

    List of names and identifiers of Physics setting.

  • PhysicsSettingCount: number

    Number of physics settings.

  • TotalInputCount: number

    Total number of input parameters.

  • TotalOutputCount: number

    Total number of output parameters.

  • VertexCount: number

    Total number of vertices.

PhysicsSettings: { Id: string; Input: { Reflect: boolean; Source: { Id: string; Target: string }; Type: string; Weight: number }[]; Normalization: { Angle: { Default: number; Maximum: number; Minimum: number }; Position: { Default: number; Maximum: number; Minimum: number } }; Output: { Destination: { Id: string; Target: string }; Reflect: boolean; Scale: number; Type: string; VertexIndex: number; Weight: number }[]; Vertices: Vertex[] }[]

Physics Settings.

Version: number

Json file format version.

Generated using TypeDoc