arkit_plugin library

Classes

ARKitAnchor
Object representing a physical location and orientation in 3D space.
ARKitBodyAnchor
An anchor representing a body in the world.
ARKitBox
ARKitBox represents a box with rectangular sides and optional chamfers.
ARKitCapsule
ARKitCapsule represents a capsule with controllable height and cap radius.
ARKitCone
ARKitCone represents a cone with controllable height, top radius and bottom radius.
ARKitController
Controls an ARKitSceneView.
ARKitCylinder
ARKitCylinder represents a cylinder with controllable height and radius.
ARKitFace
An object representing the geometry of a face. The face geometry will have a constant number of triangles and vertices, updating only the vertex positions from frame to frame.
ARKitFaceAnchor
An anchor representing a face and its geometry.
ARKitGeometry
ARKitGeometry is an abstract class that represents the geometry that can be attached to a SCNNode.
ARKitGltfNode
Node in .gltf or .glb file format.
ARKitImageAnchor
An anchor representing an image in the world.
ARKitLight
ARKitLight represents a light that can be attached to a ARKitNode.
ARKitLightEstimate
A light estimate representing the light in the scene.
ARKitLine
Represents a line between 2 vectors
ARKitMaterial
An ARKitMaterial determines how a geometry is rendered. It encapsulates the colors and textures that define the appearance of 3d geometries.
ARKitMaterialColor
Specifies the receiver's color.
ARKitMaterialImage
Specifies the receiver's image. It might be either a name of an image stored in native iOS project or a full path to the file in the Flutter folder (/assets/image/img.jpg) or URL or base64 string (highly not recommended due to potential performance issues)
ARKitMaterialProperty
The contents of a ARKitMaterial slot This can be used to specify the various properties of SCNMaterial slots such as diffuse, ambient, etc.
ARKitMaterialValue
Floating value between 0 and 1 (NSNumber) for metalness and roughness properties
ARKitMaterialVideo
Specifies the receiver's video. Initializes a video using a video file stored in the app bundle or using a URL.
ARKitNode
ARKitNode is the model class for node-tree objects. It encapsulates the position, rotations, and other transforms of a node, which define a coordinate system. The coordinate systems of all the sub-nodes are relative to the one of their parent node.
ARKitNodePanResult
The result of users pan gesture interaction with nodes
ARKitNodePinchResult
The result of users pinch gesture interaction with nodes
ARKitNodeRotationResult
The result of users pinch gesture interaction with nodes
ARKitPhysicsBody
The ARKitPhysicsBody class describes the physics properties (such as mass, friction...) of a node.
ARKitPhysicsShape
ARKitPhysicsShape represents the shape of a physics body.
ARKitPlane
Represents a rectangle with controllable width and height. The plane has one visible side.
ARKitPlaneAnchor
An anchor representing a planar surface in the world. Planes are defined in the X and Z direction, where Y is the surface’s normal.
ARKitPlugin
ARKitPyramid
ARKitPyramid represents a right pyramid with a rectangular base.
ARKitReferenceImage
A reference image to be detected in the scene.
ARKitReferenceNode
Node that references an external serialized node graph.
ARKitSceneView
A widget that wraps ARSCNView from ARKit.
ARKitSphere
Represents a sphere with controllable radius
ARKitTestResult
A result of an intersection found during a hit-test.
ARKitText
Represents a block of text that has been extruded.
ARKitTorus
ARKitTorus represents a torus with controllable ring radius and pipe radius.
ARKitTube
ARKitTube represents a tube with controllable height, inner radius and outer radius.
ARKitUnkownAnchor
The anchor of this type is not supported by the plugin yet.
ARKitUnkownGeometry

Enums

ARKitBlendMode
Blend modes that ARKitMaterial uses to compose with the framebuffer to produce blended colors.
ARKitColorMask
ARKitConfiguration
Determines the object type to describe and configure the Augmented Reality techniques to be used in an ARSession.
ARKitCullMode
ARKitFillMode
ARKitHitTestResultType
Option set of hit-test result types.
ARKitLightingModel
Constants for ARKit lightingModel For every lighting model, the final color is computed as follows: finalColor = (
ARKitLightType
Describes the various light types available.
ARKitPhysicsBodyType
Physics Body type
ARKitSkeletonJointName
ARKitTransparencyMode
ARPlaneDetection
Indicating the type of planes to detect.
ARTrackingState
A value describing the camera's tracking state.
ARTrackingStateReason
The reason why ARTrackingState is limited
ARWorldAlignment
Enum constants for indicating the world alignment.
ARWorldTrackingConfigurationEnvironmentTexturing
The mode of environment texturing to run.
AssetType
Describes the location of the asset.
CoachingOverlayGoal
A value describing the context required for successful coaching

Typedefs

AnchorEventHandler = void Function(ARKitAnchor anchor)
ARKitHitResultHandler = void Function(List<ARKitTestResult> hits)
ARKitPanResultHandler = void Function(List<ARKitNodePanResult> pans)
ARKitPinchGestureHandler = void Function(List<ARKitNodePinchResult> pinch)
ARKitPluginCreatedCallback = void Function(ARKitController controller)
ARKitRotationResultHandler = void Function(List<ARKitNodeRotationResult> pans)
ARKitTapResultHandler = void Function(List<String> nodes)
StringResultHandler = void Function(String? text)