Search Results for

    Show / Hide Table of Contents

    Struct Surface

    CSG plane surface

    Inherited Members
    Plane::D
    Plane::DistanceEpsilon
    Plane::Dot(const Plane& left, const Vector4& right, Real& result)
    Plane::Dot(const Plane& left, const Vector4& right)
    Plane::DotCoordinate(const Plane& left, const Vector3& right, Real& result)
    Plane::DotCoordinate(const Plane& left, const Vector3& right)
    Plane::DotNormal(const Plane& left, const Vector3& right, Real& result)
    Plane::DotNormal(const Plane& left, const Vector3& right)
    Plane::Intersection(const Plane& inPlane1, const Plane& inPlane2, const Plane& inPlane3)
    Plane::Intersects(const Vector3& point)
    Plane::Intersects(const Ray& ray)
    Plane::Intersects(const Ray& ray, Real& distance)
    Plane::Intersects(const Ray& ray, Vector3& point)
    Plane::Intersects(const Plane& plane)
    Plane::Intersects(const Plane& plane, Ray& line)
    Plane::Intersects(const Vector3& vertex1, const Vector3& vertex2, const Vector3& vertex3)
    Plane::Intersects(const BoundingBox& box)
    Plane::Intersects(const BoundingSphere& sphere)
    Plane::Multiply(const Plane& value, Real scale, Plane& result)
    Plane::Multiply(const Plane& value, Real scale)
    Plane::NearEqual(const Plane& a, const Plane& b)
    Plane::Negate()
    Plane::Negated()
    Plane::Normal
    Plane::NormalEpsilon
    Plane::Normalize()
    Plane::Normalize(const Plane& plane, Plane& result)
    Plane::Normalize(const Plane& plane)
    Plane::operator!=(const Plane& other)
    Plane::operator*(Real scale)
    Plane::operator==(const Plane& other)
    Plane::Plane()
    Plane::Plane(const Vector3& normal, Real d)
    Plane::Plane(const Vector3& point, const Vector3& normal)
    Plane::Plane(const Vector3& point1, const Vector3& point2, const Vector3& point3)
    Plane::PointOnPlane()
    Plane::ToString()
    Plane::Transform(const Plane& plane, const Quaternion& rotation, Plane& result)
    Plane::Transform(const Plane& plane, const Quaternion& rotation)
    Plane::Transform(const Plane& plane, const Matrix& transformation, Plane& result)
    Plane::Transform(const Plane& plane, const Matrix& transformation)
    Plane::Translate(const Vector3& translation)
    Plane::Translated(const Plane& plane, const Vector3& translation)
    Plane::Translated(const Plane& plane, float translateX, float translateY, float translateZ)
    Namespace: CSG
    Assembly: FlaxEngine.dll
    File: Engine/CSG/Brush.h
    Syntax
    public struct Surface : public Plane

    Constructors

    Surface()

    Default constructor

    Declaration
    public Surface()

    Surface(const Plane& plane)

    Declaration
    public Surface(const Plane& plane)
    Parameters
    Plane plane

    Surface(const Surface& plane)

    Declaration
    public Surface(const Surface& plane)
    Parameters
    Surface plane

    Surface(const Vector3& normal, float d)

    Declaration
    public Surface(const Vector3& normal, float d)
    Parameters
    Vector3 normal

    float d

    Surface(const Vector3& point1, const Vector3& point2, const Vector3& point3)

    Declaration
    public Surface(const Vector3& point1, const Vector3& point2, const Vector3& point3)
    Parameters
    Vector3 point1

    Vector3 point2

    Vector3 point3

    Fields

    Material

    Declaration
    public Guid Material
    Field Value
    Guid

    ScaleInLightmap

    Declaration
    public float ScaleInLightmap
    Field Value
    float

    TexCoordOffset

    Declaration
    public Float2 TexCoordOffset
    Field Value
    Float2

    TexCoordRotation

    Declaration
    public float TexCoordRotation
    Field Value
    float

    TexCoordScale

    Declaration
    public Float2 TexCoordScale
    Field Value
    Float2

    Methods

    Distance(const Vector3& vertex)

    Declaration
    public Real Distance(const Vector3& vertex) const
    Parameters
    Vector3 vertex

    Returns
    Real

    Intersection(const Vector3& start, const Vector3& end)

    Declaration
    public Vector3 Intersection(const Vector3& start, const Vector3& end) const
    Parameters
    Vector3 start

    Vector3 end

    Returns
    Vector3

    Intersection(const Vector3& start, const Vector3& end, Real sdist, Real edist)

    Declaration
    public static Vector3 Intersection(const Vector3& start, const Vector3& end, Real sdist, Real edist)
    Parameters
    Vector3 start

    Vector3 end

    Real sdist

    Real edist

    Returns
    Vector3

    OnSide(const AABB& box)

    Declaration
    public PlaneIntersectionType OnSide(const AABB& box) const
    Parameters
    AABB box

    Returns
    PlaneIntersectionType

    OnSide(const Vector3& vertex)

    Declaration
    public PlaneIntersectionType OnSide(const Vector3& vertex) const
    Parameters
    Vector3 vertex

    Returns
    PlaneIntersectionType

    OnSide(Real distance)

    Declaration
    public static PlaneIntersectionType OnSide(Real distance)
    Parameters
    Real distance

    Returns
    PlaneIntersectionType

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat