struct Engine::MaterialData
- Engine::MaterialData
- Struct
- Value
- Object
Defined in:
engine/physics.crConstructors
Instance Method Summary
- #clone
- #copy_with(density _density = @density, friction _friction = @friction, elasticity _elasticity = @elasticity, def_radius _def_radius = @def_radius)
- #def_radius : Float64
- #density : Float64
- #elasticity : Float64
- #friction : Float64
Constructor Detail
def self.new(density : Float64, friction : Float64, elasticity : Float64, def_radius : Float64)
#
Instance Method Detail
def copy_with(density _density = @density, friction _friction = @friction, elasticity _elasticity = @elasticity, def_radius _def_radius = @def_radius)
#