struct RayLib::RayHitInfo
- RayLib::RayHitInfo
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
raylib/structs.crConstructors
- .new(hit : Bool, distance : Float32, position : RayLib::Vector3, normal : RayLib::Vector3)
- .new(pull : JSON::PullParser)
- .new(unwrap : Pointer(Binding::RayHitInfo))
- .new(unwrap : Binding::RayHitInfo)
Instance Method Summary
- #distance : Float32
- #distance=(distance : Float32)
- #hit : Bool
- #hit=(hit : Bool)
- #normal : Vector3
- #normal=(normal : Vector3)
- #position : Vector3
- #position=(position : Vector3)
- #to_unsafe
Constructor Detail
def self.new(hit : Bool, distance : Float32, position : RayLib::Vector3, normal : RayLib::Vector3)
#