GFX
  • Docs
  • API
Search Results for

    Show / Hide Table of Contents
    • Genesis.Core
      • AssetManager
      • Game
      • GameElement
      • GameEventHandler
      • GenesisWindow
      • IGameBehavior
      • Input
      • Layer
      • Light
      • Scene
      • Scene3D
      • SceneEventHandler
      • SceneSizeEvenHandler
      • Storage
      • Utils
    • Genesis.Core.Behaviors
      • AnimationBehavior
      • CameraFlags
      • CharacterController2D
      • ControllerPreset
      • MoveDirection
      • MovementFlags
      • SpriteMovementController
    • Genesis.Core.Behaviors.Physics2D
      • BufferedSpriteCollider
      • PhysicsBox2D
      • PhysicsPolygon2D
      • Rigidbody2D
    • Genesis.Core.Behaviors.Physics3D
      • BoxCollider
      • CapsuleCollider
      • ConvexHullBehavior
      • QubeConvexHull
      • SphereCollider
      • StaticMeshBehavior
    • Genesis.Core.Behaviors._3D
      • Stance
      • ThirdpersonCharacterController
    • Genesis.Core.GameElements
      • BufferedSprite
      • CameraElement
      • Element3D
      • Empty
      • Model
      • ParticleBuffers
      • ParticleDeffinition
      • ParticleEmitter
      • Qube
      • RectElement
      • Skybox
      • Sprite
      • SpriteShapeDeffinition
      • Terrain2D
      • Terrain3D
      • TerrainData
    • Genesis.Graphics
      • Animation
      • Camera
      • CameraType
      • Face
      • Font
      • Framebuffer
      • Glyphe
      • IRenderDevice
      • Material
      • MaterialBuffer
      • Mesh
      • PerspectiveCamera
      • Shader
      • ShaderProgram
      • TexCoords
      • Texture
      • Viewport
    • Genesis.Graphics.Animation3D
      • Animation
      • Animator
      • AssimpNodeData
      • Bone
      • KeyPosition
      • KeyRotation
      • KeyScale
      • ModelMesh
      • boneinfo
      • vertex
    • Genesis.Graphics.Physics
      • BulletDebugRenderer
    • Genesis.Graphics.RenderDevice
      • ClassicGL
      • GLRenderer
    • Genesis.Graphics.Shaders.OpenGL
      • AnimatedModelShader
      • BasicShader
      • DiffuseLightning
      • DiffuseNormalLightning
      • DiffuseNormalShader
      • DiffuseShader
      • DiffuseSolidShader
      • MVPRectShader
      • MVPShader
      • MVPSolidShader
      • ParticleShader
      • ScreenShader
      • SkyboxShader
      • SpriteShader
      • TerrainShader
      • WireframeShader
    • Genesis.Graphics.Shapes
      • BufferedSpriteShape
      • FrameShape
      • GlypheShape
      • LineShape
      • PlaneShape
      • QubeShape
      • RectShape
      • Shape
      • SpriteShape
    • Genesis.Math
      • Matrix4x4
      • NoisePoint
      • PerlinNoise
      • Rect
      • Vec3
    • Genesis.Physics
      • Aabb
      • HitResult
      • MatrixSet
      • MouseRay2
      • PhysicHandler
      • PhysicHandlerEvent
      • PhysicPropeterys
      • PhysicsBehavior
      • PhysicsBehaviorEvent
      • PhysicsHandler2D
      • PhysicsHandler3D
      • Raycast
    • Genesis.UI
      • Canvas
      • ImageButton
      • Label
      • ListItem
      • ListItemBehavior
      • ListSelector
      • ListSelectorBehavior
      • Panel
      • ProgressBar
      • UIEvent
      • UIParseHandler
      • UIParser
      • Widget

    Class Matrix4x4

    Inheritance
    object
    Matrix4x4
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Genesis.Math
    Assembly: Genesis.dll
    Syntax
    public class Matrix4x4

    Constructors

    Matrix4x4()

    Declaration
    public Matrix4x4()

    Properties

    this[int, int]

    Declaration
    public float this[int row, int col] { get; set; }
    Parameters
    Type Name Description
    int row
    int col
    Property Value
    Type Description
    float

    Methods

    Identity()

    Declaration
    public static Matrix4x4 Identity()
    Returns
    Type Description
    Matrix4x4

    LookAt(Vec3, Vec3, Vec3)

    Declaration
    public static Matrix4x4 LookAt(Vec3 eye, Vec3 target, Vec3 up)
    Parameters
    Type Name Description
    Vec3 eye
    Vec3 target
    Vec3 up
    Returns
    Type Description
    Matrix4x4

    Multiply(Matrix4x4)

    Declaration
    public Matrix4x4 Multiply(Matrix4x4 right)
    Parameters
    Type Name Description
    Matrix4x4 right
    Returns
    Type Description
    Matrix4x4

    Multiply(Vec3)

    Declaration
    public Vec3 Multiply(Vec3 vector)
    Parameters
    Type Name Description
    Vec3 vector
    Returns
    Type Description
    Vec3

    Normalize()

    Declaration
    public void Normalize()

    Ortho(float, float, float, float, float, float)

    Declaration
    public static Matrix4x4 Ortho(float left, float right, float bottom, float top, float near, float far)
    Parameters
    Type Name Description
    float left
    float right
    float bottom
    float top
    float near
    float far
    Returns
    Type Description
    Matrix4x4

    RotateX(float)

    Declaration
    public static Matrix4x4 RotateX(float angleInRadians)
    Parameters
    Type Name Description
    float angleInRadians
    Returns
    Type Description
    Matrix4x4

    RotateY(float)

    Declaration
    public static Matrix4x4 RotateY(float angleInRadians)
    Parameters
    Type Name Description
    float angleInRadians
    Returns
    Type Description
    Matrix4x4

    RotateZ(float)

    Declaration
    public static Matrix4x4 RotateZ(float angleInRadians)
    Parameters
    Type Name Description
    float angleInRadians
    Returns
    Type Description
    Matrix4x4

    Scale(Vec3)

    Declaration
    public static Matrix4x4 Scale(Vec3 scale)
    Parameters
    Type Name Description
    Vec3 scale
    Returns
    Type Description
    Matrix4x4

    ToArray()

    Declaration
    public float[] ToArray()
    Returns
    Type Description
    float[]

    Translate(Vec3)

    Declaration
    public static Matrix4x4 Translate(Vec3 translation)
    Parameters
    Type Name Description
    Vec3 translation
    Returns
    Type Description
    Matrix4x4

    Operators

    operator *(Matrix4x4, Matrix4x4)

    Declaration
    public static Matrix4x4 operator *(Matrix4x4 left, Matrix4x4 right)
    Parameters
    Type Name Description
    Matrix4x4 left
    Matrix4x4 right
    Returns
    Type Description
    Matrix4x4
    In this article
    Back to top Generated by DocFX