# IRdCollInfo Interface Reference

Inherits IRsDataObject.

List of all members.

## Public Member Functions
HRESULT | AddCollisionItem ([in] RtCollTrian colldata)
HRESULT | AddCollisionData ([in] RtObjCollision colldata)
HRESULT | LockData ([out] RtObjCollision **colldata)
HRESULT | UnLockData ()
HRESULT | Clear (void)
HRESULT | GetCount ([out] int *count)

## Detailed Description

IRdCollInfo provides access to collision data in data object.

## Member Function Documentation

HRESULT IRdCollInfo::AddCollisionItem | ( | [in] RtCollTrian | colldata | ) |

Add item to collision data

Parameters:

  | colldata | - added item

HRESULT IRdCollInfo::AddCollisionData | ( | [in] RtObjCollision | colldata | ) |

Add item to collision data

Parameters:

  | colldata | - added item

HRESULT IRdCollInfo::LockData | ( | [out] RtObjCollision ** | colldata | ) |

Return pointer to collision data, lock data object

Parameters:

  | colldata | - pointer to data

HRESULT IRdCollInfo::UnLockData | ( |  | ) |

Unlock data object

HRESULT IRdCollInfo::Clear | ( | void |  | ) |

Free all collision data

HRESULT IRdCollInfo::GetCount | ( | [out] int * | count | ) |

Return number of collision items

Parameters:

  | count | - number of collision items