Trait bevy_transform::traits::TransformPoint

source ·
pub trait TransformPoint {
    // Required method
    fn transform_point(&self, point: impl Into<Vec3>) -> Vec3;
}
Expand description

A trait for point transformation methods.

Required Methods§

source

fn transform_point(&self, point: impl Into<Vec3>) -> Vec3

Transform a point.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TransformPoint for Affine3A

source§

fn transform_point(&self, point: impl Into<Vec3>) -> Vec3

source§

impl TransformPoint for Mat4

source§

fn transform_point(&self, point: impl Into<Vec3>) -> Vec3

Implementors§