SpatialAccelerationChooser (struct)

SpatialAccelerationChooser SpatialAccelerationChooser SpatialAccelerationChooser

Members

Octree octree  
SparseGrid sparseGrid  
Ref<StatisticSource> statsParent  
Size objectCount  

Methods

  SpatialAccelerationChooser ( in Ref<StatisticSource> statsParent )
  SpatialAccelerationChooser ( in SpatialAccelerationChooser other )
  SpatialAccelerationChooser ()
Ref<GenericValue> _getOptionAndValidate ? ( in GenericValueContainer options, in String name, in Type expectedType )
SpatialAccelerationChooser clone ? ()
  getClosest ? ( in Boolean structureIsUptodate, in Vec3 position, in Vec3 scaling, in Scalar maxUnscaledDistance, io SpatialQueryData data, io Ref<ClosestResult> result )
Size getElementsInBBox ! ( in Ref<Geometry> geometry, in Boolean structureIsUptodate, in Vec3 min, in Vec3 max, io SpatialQueryData data )
Size getElementsInBSphere ! ( in Ref<Geometry> geometry, in Boolean structureIsUptodate, in Vec3 center, in Scalar radius, io SpatialQueryData data )
Size getLineIntersectedElements ! ( in Ref<Geometry> geometry, in Boolean structureIsUptodate, in Vec3 start, in Vec3 end, in UInt8 lineIntersectionType, io SpatialQueryData data )
Boolean hasAccelerationStructure ? ()
  prepare ! ( in Size approximateNumberOfQueries )
  raycast ? ( in Boolean structureIsUptodate, in Ray ray, in Boolean doubleSided, in Scalar coneThreshold, in Scalar maxDistance, io SpatialQueryData data, io Ref<RaycastResult> result )
  removeObject ! ( in UInt32 index )
  setObjectCount ! ( in Size count, in Boolean updateAcceleration )
Boolean synchronizeOptions ! ( in GenericValueContainer options )
  updateObjectVolume ! ( in UInt32 index, in Vec3 center, in Scalar radius )
  updateObjectVolume ! ( in UInt32 index, in Vec3 min, in Vec3 max )

Methods in detail

SpatialAccelerationChooser ( in Ref<StatisticSource> statsParent )


SpatialAccelerationChooser ( in SpatialAccelerationChooser other )

copy constructor


SpatialAccelerationChooser ()

default constructor


Ref<GenericValue> SpatialAccelerationChooser._getOptionAndValidate? ( in GenericValueContainer options, in String name, in Type expectedType )


SpatialAccelerationChooser SpatialAccelerationChooser.clone? ()

clone method


SpatialAccelerationChooser.getClosest? ( in Boolean structureIsUptodate, in Vec3 position, in Vec3 scaling, in Scalar maxUnscaledDistance, io SpatialQueryData data, io Ref<ClosestResult> result )


Size SpatialAccelerationChooser.getElementsInBBox! ( in Ref<Geometry> geometry, in Boolean structureIsUptodate, in Vec3 min, in Vec3 max, io SpatialQueryData data )


Size SpatialAccelerationChooser.getElementsInBSphere! ( in Ref<Geometry> geometry, in Boolean structureIsUptodate, in Vec3 center, in Scalar radius, io SpatialQueryData data )


Size SpatialAccelerationChooser.getLineIntersectedElements! ( in Ref<Geometry> geometry, in Boolean structureIsUptodate, in Vec3 start, in Vec3 end, in UInt8 lineIntersectionType, io SpatialQueryData data )


Boolean SpatialAccelerationChooser.hasAccelerationStructure? ()


SpatialAccelerationChooser.prepare! ( in Size approximateNumberOfQueries )


SpatialAccelerationChooser.raycast? ( in Boolean structureIsUptodate, in Ray ray, in Boolean doubleSided, in Scalar coneThreshold, in Scalar maxDistance, io SpatialQueryData data, io Ref<RaycastResult> result )


SpatialAccelerationChooser.removeObject! ( in UInt32 index )


SpatialAccelerationChooser.setObjectCount! ( in Size count, in Boolean updateAcceleration )


Boolean SpatialAccelerationChooser.synchronizeOptions! ( in GenericValueContainer options )


SpatialAccelerationChooser.updateObjectVolume! ( in UInt32 index, in Vec3 center, in Scalar radius )


SpatialAccelerationChooser.updateObjectVolume! ( in UInt32 index, in Vec3 min, in Vec3 max )