class Oid::Components::Camera
- Oid::Components::Camera
- Entitas::Component
- Reference
- Object
Overview
Check to see if the component is a sub-class of ::Entitas::Component
Defined in:
oid/components/stage.crClass Method Summary
-
.is_unique? : Bool
If the component has the unique annotation, set the class method to
true
The framework will make sure that only one instance of a unique component can be present in your context Will return true if the class is a unique component for a context
Instance Method Summary
-
#fov : Float64
fov_y
-
#fov=(fov : Float64)
fov_y
-
#fov? : Bool
fov_y
- #is_2d?
-
#is_3d : Bool
3d
-
#is_3d=(is_3d : Bool)
3d
-
#is_3d?
3d
-
#is_unique? : Bool
If the component has the unique annotation, set the class method to
true
The framework will make sure that only one instance of a unique component can be present in your context Will return true if the class is a unique component for a context -
#mode : Oid::Components::Camera::Mode
Camera mode
-
#mode=(mode : Oid::Components::Camera::Mode)
Camera mode
-
#mode? : Bool
Camera mode
-
#offset : Oid::Vector3
offset
-
#offset=(offset : Oid::Vector3)
offset
-
#offset? : Bool
offset
-
#target : Oid::Vector3
target
-
#target=(target : Oid::Vector3)
target
-
#target? : Bool
target
-
#type : Oid::Components::Camera::Type
Camera type: Perspective or Orthographic
-
#type=(type : Oid::Components::Camera::Type)
Camera type: Perspective or Orthographic
-
#type? : Bool
Camera type: Perspective or Orthographic
-
#zoom : Float64
zoom
-
#zoom=(zoom : Float64)
zoom
-
#zoom? : Bool
zoom
Class Method Detail
If the component has the unique annotation,
set the class method to true
The framework will make sure that only one instance of a unique component can be present in your context
Will return true if the class is a unique component for a context
Instance Method Detail
If the component has the unique annotation,
set the class method to true
The framework will make sure that only one instance of a unique component can be present in your context
Will return true if the class is a unique component for a context