PointsToVolumeListInterface Class Reference

#include <volumetools.h>

公共成员函数

MAXON_METHOD Result < void >  AppendPoint (const 向量 &position, Float radius, const 向量 &velocity= 向量 (0.0))
MAXON_METHOD Int   GetCount () const

静态公共成员函数

static MAXON_METHOD Result < PointsToVolumeListInterface * >  Alloc ( MAXON_SOURCE_LOCATION_DECLARATION , Float scale, Float velicityScale)

私有成员函数

  MAXON_INTERFACE_NONVIRTUAL ( PointsToVolumeListInterface , MAXON_REFERENCE_NORMAL , "net.maxon.volume.interface.pointstovolumelist")

成员函数文档编制

◆  MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( PointsToVolumeListInterface   ,
MAXON_REFERENCE_NORMAL   ,
"net.maxon.volume.interface.pointstovolumelist"   
)
private

◆  Alloc()

static MAXON_METHOD Result < PointsToVolumeListInterface *> Alloc ( MAXON_SOURCE_LOCATION_DECLARATION   ,
Float   scale ,
Float   velicityScale  
)
static

◆  AppendPoint()

MAXON_METHOD Result <void> AppendPoint ( const 向量 position ,
Float   radius ,
const 向量 velocity = Vector(0.0)  
)

Adds a point to the point list that will be converted to a volume.

参数
[in] position The position of the point.
[in] radius The radius of the volume sphere that will be created around that point.
[in] velocity The velocity of the points for trails.
返回
OK on success.

◆  GetCount()

MAXON_METHOD Int GetCount ( ) const

Returns the amount of points that were added to the point list.

返回
The amount of already added points.