vrsphere

A sphere.

Public Attributes


Centre of the sphere.


Centre of the sphere.


number radius

Radius of the sphere.

Public Member Functions


boolean contains(Any b)

(vrTestContain) Returns whether or object A completly contains object B.

Parameters
b

A sphere, AABB, or vec3

Returns

true if b is inside a


Any copy()

(vrCopy) Returns a copy of a Vector, Matrix, Ray, Sphere, AABBox, Quaternion or Plane


boolean intersects(Any b)

(vrTestIntersection) Returns whether or not two objects are intersecting one another.

Parameters
b

A sphere or AABB

Returns

True if the objects are intersecting


(vrSphereMerge) Returns a sphere that encapsulates two spheres.


Any operator=()

(vrSphereTransform) Returns a sphere transformed by a matrix.

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API