Uses of Class
com.raylib.Vector3
Packages that use Vector3
-
Uses of Vector3 in com.raylib
Methods in com.raylib that return Vector3Modifier and TypeMethodDescriptionstatic Vector3
Vector3.allocateArray
(long elementCount) Allocate an array of Vector3static Vector3
Vector3.allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of Vector3static Vector3
Raylib.colorToHSV
(Color color) Get HSV values for a Color, hue [0..360], saturation/value [0..1]static Vector3
Raylib.colorToHSV
(Arena arena, Color color) Get HSV values for a Color, hue [0..360], saturation/value [0..1]Vector3.getArrayElement
(int index) Ray.getDirection()
Ray directionBoundingBox.getMax()
Maximum vertex box-cornerBoundingBox.getMin()
Minimum vertex box-cornerRayCollision.getNormal()
Surface normal of hitRayCollision.getPoint()
Point of the nearest hitCamera3D.getPosition()
Camera positionRay.getPosition()
Ray position (origin)Transform.getScale()
ScaleCamera3D.getTarget()
Camera target it looks-atTransform.getTranslation()
TranslationCamera3D.getUp()
Camera up vector (rotation over its axis)Vector3.setX
(float value) Vector x componentVector3.setY
(float value) Vector y componentVector3.setZ
(float value) Vector z componentMethods in com.raylib with parameters of type Vector3Modifier and TypeMethodDescriptionstatic boolean
Raylib.checkCollisionBoxSphere
(BoundingBox box, Vector3 center, float radius) Check collision between box and spherestatic boolean
Raylib.checkCollisionSpheres
(Vector3 center1, float radius1, Vector3 center2, float radius2) Check collision between two spheresstatic void
Raylib.drawBillboard
(Camera3D camera, Texture texture, Vector3 position, float size, Color tint) Draw a billboard texturestatic void
Raylib.drawBillboardPro
(Camera3D camera, Texture texture, Rectangle source, Vector3 position, Vector3 up, Vector2 size, Vector2 origin, float rotation, Color tint) Draw a billboard texture defined by source and rotationstatic void
Raylib.drawBillboardRec
(Camera3D camera, Texture texture, Rectangle source, Vector3 position, Vector2 size, Color tint) Draw a billboard texture defined by sourcestatic void
Raylib.drawCapsule
(Vector3 startPos, Vector3 endPos, float radius, int slices, int rings, Color color) Draw a capsule with the center of its sphere caps at startPos and endPosstatic void
Raylib.drawCapsuleWires
(Vector3 startPos, Vector3 endPos, float radius, int slices, int rings, Color color) Draw capsule wireframe with the center of its sphere caps at startPos and endPosstatic void
Raylib.drawCircle3D
(Vector3 center, float radius, Vector3 rotationAxis, float rotationAngle, Color color) Draw a circle in 3D world spacestatic void
Draw cubestatic void
Draw cube (Vector version)static void
Raylib.drawCubeWires
(Vector3 position, float width, float height, float length, Color color) Draw cube wiresstatic void
Raylib.drawCubeWiresV
(Vector3 position, Vector3 size, Color color) Draw cube wires (Vector version)static void
Raylib.drawCylinder
(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color) Draw a cylinder/conestatic void
Raylib.drawCylinderEx
(Vector3 startPos, Vector3 endPos, float startRadius, float endRadius, int sides, Color color) Draw a cylinder with base at startPos and top at endPosstatic void
Raylib.drawCylinderWires
(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color) Draw a cylinder/cone wiresstatic void
Raylib.drawCylinderWiresEx
(Vector3 startPos, Vector3 endPos, float startRadius, float endRadius, int sides, Color color) Draw a cylinder wires with base at startPos and top at endPosstatic void
Raylib.drawLine3D
(Vector3 startPos, Vector3 endPos, Color color) Draw a line in 3D world spacestatic void
Draw a model (with texture if set)static void
Raylib.drawModelEx
(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint) Draw a model with extended parametersstatic void
Raylib.drawModelWires
(Model model, Vector3 position, float scale, Color tint) Draw a model wires (with texture if set)static void
Raylib.drawModelWiresEx
(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint) Draw a model wires (with texture if set) with extended parametersstatic void
Draw a plane XZstatic void
Raylib.drawPoint3D
(Vector3 position, Color color) Draw a point in 3D space, actually a small linestatic void
Raylib.drawSphere
(Vector3 centerPos, float radius, Color color) Draw spherestatic void
Raylib.drawSphereEx
(Vector3 centerPos, float radius, int rings, int slices, Color color) Draw sphere with extended parametersstatic void
Raylib.drawSphereWires
(Vector3 centerPos, float radius, int rings, int slices, Color color) Draw sphere wiresstatic void
Raylib.drawTriangle3D
(Vector3 v1, Vector3 v2, Vector3 v3, Color color) Draw a color-filled triangle (vertex in counter-clockwise order!)static void
Raylib.drawTriangleStrip3D
(Vector3 points, int pointCount, Color color) Draw a triangle strip defined by pointsstatic Mesh
Raylib.genMeshCubicmap
(Image cubicmap, Vector3 cubeSize) Generate cubes-based map mesh from image datastatic Mesh
Raylib.genMeshCubicmap
(Arena arena, Image cubicmap, Vector3 cubeSize) Generate cubes-based map mesh from image datastatic Mesh
Raylib.genMeshHeightmap
(Image heightmap, Vector3 size) Generate heightmap mesh from image datastatic Mesh
Raylib.genMeshHeightmap
(Arena arena, Image heightmap, Vector3 size) Generate heightmap mesh from image datastatic RayCollision
Get collision info between ray and quadstatic RayCollision
Get collision info between ray and quadstatic RayCollision
Raylib.getRayCollisionSphere
(Ray ray, Vector3 center, float radius) Get collision info between ray and spherestatic RayCollision
Raylib.getRayCollisionSphere
(Arena arena, Ray ray, Vector3 center, float radius) Get collision info between ray and spherestatic RayCollision
Raylib.getRayCollisionTriangle
(Ray ray, Vector3 p1, Vector3 p2, Vector3 p3) Get collision info between ray and trianglestatic RayCollision
Get collision info between ray and trianglestatic Vector2
Raylib.getWorldToScreen
(Vector3 position, Camera3D camera) Get the screen space position for a 3d world space positionstatic Vector2
Raylib.getWorldToScreen
(Arena arena, Vector3 position, Camera3D camera) Get the screen space position for a 3d world space positionstatic Vector2
Raylib.getWorldToScreenEx
(Vector3 position, Camera3D camera, int width, int height) Get size position for a 3d world space positionstatic Vector2
Raylib.getWorldToScreenEx
(Arena arena, Vector3 position, Camera3D camera, int width, int height) Get size position for a 3d world space positionRay.setDirection
(Vector3 value) Ray directionMaximum vertex box-cornerMinimum vertex box-cornerSurface normal of hitPoint of the nearest hitCamera3D.setPosition
(Vector3 value) Camera positionRay.setPosition
(Vector3 value) Ray position (origin)ScaleCamera target it looks-atTransform.setTranslation
(Vector3 value) TranslationCamera up vector (rotation over its axis)static void
Raylib.updateCameraPro
(Camera3D camera, Vector3 movement, Vector3 rotation, float zoom) Update camera movement/rotationConstructors in com.raylib with parameters of type Vector3ModifierConstructorDescriptionBoundingBox
(Vector3 min, Vector3 max) Construct with auto memory allocator and fields initialized as specifiedBoundingBox
(SegmentAllocator arena, Vector3 min, Vector3 max) Construct with your own memory allocator and fields initialized as specifiedConstruct with auto memory allocator and fields initialized as specifiedCamera3D
(SegmentAllocator arena, Vector3 position, Vector3 target, Vector3 up, float fovy, int projection) Construct with your own memory allocator and fields initialized as specifiedConstruct with auto memory allocator and fields initialized as specifiedRay
(SegmentAllocator arena, Vector3 position, Vector3 direction) Construct with your own memory allocator and fields initialized as specifiedRayCollision
(boolean hit, float distance, Vector3 point, Vector3 normal) Construct with auto memory allocator and fields initialized as specifiedRayCollision
(SegmentAllocator arena, boolean hit, float distance, Vector3 point, Vector3 normal) Construct with your own memory allocator and fields initialized as specifiedConstruct with auto memory allocator and fields initialized as specifiedTransform
(SegmentAllocator arena, Vector3 translation, Vector4 rotation, Vector3 scale) Construct with your own memory allocator and fields initialized as specified