Documentation ¶
Index ¶
- type OrthographicCameraBounds
- type OrthographicCameraController
- func (controller *OrthographicCameraController) Bounds() *OrthographicCameraBounds
- func (controller *OrthographicCameraController) GetCamera() *ggrenderer.OrthographicCamera
- func (controller *OrthographicCameraController) OnEvent(event ggevent.Event)
- func (controller *OrthographicCameraController) OnUpdate(ts ggcore.Timestep)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrthographicCameraBounds ¶
type OrthographicCameraBounds struct {
Left, Right, Bottom, Top float32
}
func (*OrthographicCameraBounds) Height ¶
func (bounds *OrthographicCameraBounds) Height() float32
func (*OrthographicCameraBounds) Width ¶
func (bounds *OrthographicCameraBounds) Width() float32
type OrthographicCameraController ¶
type OrthographicCameraController struct {
// contains filtered or unexported fields
}
func NewOrthographicCameraController ¶
func NewOrthographicCameraController(aspectRatio float32, rotation bool) *OrthographicCameraController
func (*OrthographicCameraController) Bounds ¶
func (controller *OrthographicCameraController) Bounds() *OrthographicCameraBounds
func (*OrthographicCameraController) GetCamera ¶
func (controller *OrthographicCameraController) GetCamera() *ggrenderer.OrthographicCamera
func (*OrthographicCameraController) OnEvent ¶
func (controller *OrthographicCameraController) OnEvent(event ggevent.Event)
func (*OrthographicCameraController) OnUpdate ¶
func (controller *OrthographicCameraController) OnUpdate(ts ggcore.Timestep)
Click to show internal directories.
Click to hide internal directories.