PerspectiveCamera
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun screenToWorld(context: Context, screen: MutableVec2f, viewport: Viewport, result: MutableVec2f): Boolean
fun screenToWorld(context: Context, screen: Vec3f, viewport: Viewport, result: MutableVec3f): Boolean
fun screenToWorld(context: Context, x: Float, y: Float, viewport: Viewport, result: MutableVec2f): Boolean
fun screenToWorld(context: Context, screen: Vec2f, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat()): MutableVec2f
fun screenToWorld(context: Context, screen: Vec3f, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat()): MutableVec3f
fun screenToWorld(context: Context, screen: Vec2f, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat(), result: MutableVec2f): Boolean
fun screenToWorld(context: Context, screen: Vec3f, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat(), result: MutableVec3f): Boolean
fun screenToWorld(context: Context, x: Float, y: Float, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat()): MutableVec2f
fun screenToWorld(context: Context, x: Float, y: Float, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat(), result: MutableVec2f): Boolean
fun screenToWorld(context: Context, x: Float, y: Float, z: Float, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat()): MutableVec3f
Link copied to clipboard
Link copied to clipboard
fun worldToScreen(context: Context, world: Vec2f, viewport: Viewport, result: MutableVec2f): Boolean
fun worldToScreen(context: Context, world: Vec3f, viewport: Viewport, result: MutableVec3f): Boolean
fun worldToScreen(context: Context, x: Float, y: Float, viewport: Viewport, result: MutableVec2f): Boolean
fun worldToScreen(context: Context, world: Vec2f, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat()): MutableVec2f
fun worldToScreen(context: Context, world: Vec3f, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat()): MutableVec3f
fun worldToScreen(context: Context, world: Vec2f, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat(), result: MutableVec2f): Boolean
fun worldToScreen(context: Context, world: Vec3f, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat(), result: MutableVec3f): Boolean
fun worldToScreen(context: Context, x: Float, y: Float, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat()): MutableVec2f
fun worldToScreen(context: Context, x: Float, y: Float, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat(), result: MutableVec2f): Boolean
fun worldToScreen(context: Context, x: Float, y: Float, z: Float, viewportX: Float = 0.0f, viewportY: Float = 0.0f, viewportWidth: Float = context.graphics.width.toFloat(), viewportHeight: Float = context.graphics.height.toFloat()): MutableVec3f