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 Vector3Vector3.allocateArray(long elementCount) Allocate an array of Vector3static Vector3Vector3.allocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of Vector3static Vector3Raylib.colorToHSV(Color color) Get HSV values for a Color, hue [0..360], saturation/value [0..1]static Vector3Raylib.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 booleanRaylib.checkCollisionBoxSphere(BoundingBox box, Vector3 center, float radius) Check collision between box and spherestatic booleanRaylib.checkCollisionSpheres(Vector3 center1, float radius1, Vector3 center2, float radius2) Check collision between two spheresstatic voidRaylib.drawBillboard(Camera3D camera, Texture texture, Vector3 position, float size, Color tint) Draw a billboard texturestatic voidRaylib.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 voidRaylib.drawBillboardRec(Camera3D camera, Texture texture, Rectangle source, Vector3 position, Vector2 size, Color tint) Draw a billboard texture defined by sourcestatic voidRaylib.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 voidRaylib.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 voidRaylib.drawCircle3D(Vector3 center, float radius, Vector3 rotationAxis, float rotationAngle, Color color) Draw a circle in 3D world spacestatic voidDraw cubestatic voidDraw cube (Vector version)static voidRaylib.drawCubeWires(Vector3 position, float width, float height, float length, Color color) Draw cube wiresstatic voidRaylib.drawCubeWiresV(Vector3 position, Vector3 size, Color color) Draw cube wires (Vector version)static voidRaylib.drawCylinder(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color) Draw a cylinder/conestatic voidRaylib.drawCylinderEx(Vector3 startPos, Vector3 endPos, float startRadius, float endRadius, int sides, Color color) Draw a cylinder with base at startPos and top at endPosstatic voidRaylib.drawCylinderWires(Vector3 position, float radiusTop, float radiusBottom, float height, int slices, Color color) Draw a cylinder/cone wiresstatic voidRaylib.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 voidRaylib.drawLine3D(Vector3 startPos, Vector3 endPos, Color color) Draw a line in 3D world spacestatic voidDraw a model (with texture if set)static voidRaylib.drawModelEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint) Draw a model with extended parametersstatic voidRaylib.drawModelWires(Model model, Vector3 position, float scale, Color tint) Draw a model wires (with texture if set)static voidRaylib.drawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint) Draw a model wires (with texture if set) with extended parametersstatic voidDraw a plane XZstatic voidRaylib.drawPoint3D(Vector3 position, Color color) Draw a point in 3D space, actually a small linestatic voidRaylib.drawSphere(Vector3 centerPos, float radius, Color color) Draw spherestatic voidRaylib.drawSphereEx(Vector3 centerPos, float radius, int rings, int slices, Color color) Draw sphere with extended parametersstatic voidRaylib.drawSphereWires(Vector3 centerPos, float radius, int rings, int slices, Color color) Draw sphere wiresstatic voidRaylib.drawTriangle3D(Vector3 v1, Vector3 v2, Vector3 v3, Color color) Draw a color-filled triangle (vertex in counter-clockwise order!)static voidRaylib.drawTriangleStrip3D(Vector3 points, int pointCount, Color color) Draw a triangle strip defined by pointsstatic MeshRaylib.genMeshCubicmap(Image cubicmap, Vector3 cubeSize) Generate cubes-based map mesh from image datastatic MeshRaylib.genMeshCubicmap(Arena arena, Image cubicmap, Vector3 cubeSize) Generate cubes-based map mesh from image datastatic MeshRaylib.genMeshHeightmap(Image heightmap, Vector3 size) Generate heightmap mesh from image datastatic MeshRaylib.genMeshHeightmap(Arena arena, Image heightmap, Vector3 size) Generate heightmap mesh from image datastatic RayCollisionGet collision info between ray and quadstatic RayCollisionGet collision info between ray and quadstatic RayCollisionRaylib.getRayCollisionSphere(Ray ray, Vector3 center, float radius) Get collision info between ray and spherestatic RayCollisionRaylib.getRayCollisionSphere(Arena arena, Ray ray, Vector3 center, float radius) Get collision info between ray and spherestatic RayCollisionRaylib.getRayCollisionTriangle(Ray ray, Vector3 p1, Vector3 p2, Vector3 p3) Get collision info between ray and trianglestatic RayCollisionGet collision info between ray and trianglestatic Vector2Raylib.getWorldToScreen(Vector3 position, Camera3D camera) Get the screen space position for a 3d world space positionstatic Vector2Raylib.getWorldToScreen(Arena arena, Vector3 position, Camera3D camera) Get the screen space position for a 3d world space positionstatic Vector2Raylib.getWorldToScreenEx(Vector3 position, Camera3D camera, int width, int height) Get size position for a 3d world space positionstatic Vector2Raylib.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 voidRaylib.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