Camera3D class

Constructors

Camera3D({Vector3? position, Vector3? target, Vector3? up, double fovDegrees = 60.0, double aspectRatio = 16 / 9, double zNear = 0.1, double zFar = 1000.0})

Properties

aspectRatio ↔ double
getter/setter pair
fovYRadians ↔ double
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
position ↔ Vector3
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target ↔ Vector3
getter/setter pair
up ↔ Vector3
getter/setter pair
zFar ↔ double
getter/setter pair
zNear ↔ double
getter/setter pair

Methods

getProjectionMatrix() → Matrix4
  • Projection Matrix (Perspektif) Derinlik algısını oluşturur. Uzaktaki nesneleri küçültür.
  • getViewMatrix() → Matrix4
  • View Matrix (LookAt) Kameranın pozisyonuna ve baktığı yöne göre dünyayı hizalar.
  • noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    projectToClipSpace(Vector3 worldPosition) → Vector4
    İleri Seviye Verilen bir 3D dünya noktasını, kameranın açısına göre işleyip (-1 ile +1 arasında) Clip Space (Ekran Uzayı) koordinatına çevirir. 3. Adım olan Render Pipeline'da bu metodu CustomPainter'a veri yollamak için kullanacağız.
    toString() → String
    A string representation of this object.
    inherited
    updateAspectRatio(double width, double height) → void
    Ekran boyutu (veya cihazın yatay/dikey dönmesi) değiştiğinde oranı günceller.

    Operators

    operator ==(Object other) → bool
    The equality operator.
    inherited