Skip to content

Class uipc::core::ContactModel

ClassList > uipc > core > ContactModel

Public Functions

Type Name
ContactModel () noexcept
ContactModel (const Vector2i & ids, Float friction_rate, Float resistance, bool enable, const Json & config)
const Json & config () const
Float friction_rate () const
const Vector2i & ids () const
bool is_enabled () const
Float resistance () const

Public Functions Documentation

function ContactModel [1/2]

uipc::core::ContactModel::ContactModel () noexcept

function ContactModel [2/2]

uipc::core::ContactModel::ContactModel (
    const Vector2i & ids,
    Float friction_rate,
    Float resistance,
    bool enable,
    const Json & config
) 

function config

const Json & uipc::core::ContactModel::config () const

function friction_rate

Float uipc::core::ContactModel::friction_rate () const

function ids

const Vector2i & uipc::core::ContactModel::ids () const

function is_enabled

bool uipc::core::ContactModel::is_enabled () const

function resistance

Float uipc::core::ContactModel::resistance () const

Friends Documentation

friend from_json

void uipc::core::ContactModel::from_json (
    const Json & json,
    ContactModel & model
) 

friend to_json

void uipc::core::ContactModel::to_json (
    Json & json,
    const ContactModel & model
) 


The documentation for this class was generated from the following file include/uipc/core/contact_model.h