Skip to contents

Create a new transform object.

Usage

transform(translation, rotation, scale)

Arguments

translation

A numeric vector of length 3. Translation.

rotation

A numeric vector of length 4. Rotation.

scale

A numeric vector of length 3. Scale.

Value

A transform

Note

This class has been auto-generated from the following Raylib struct definition:

typedef struct Transform {
    Vector3 translation;    // Translation
    Quaternion rotation;    // Rotation
    Vector3 scale;          // Scale
} Transform;