# RtPositionSnappingParameters Struct Reference

List of all members.

## Public Attributes
RtMovementSnapperInfo * | pSnapperInfo
RtMatrixf | mCameraViewMatrix
RtMatrixf | mCameraProjectionMatrix
RtMatrixf | mProjectionMatrix
RtViewport | tViewport
RtBool | bTrackingEnabled
RtPoint | ptCurrentPosition
RtVector2f | ptScreenPosition
RtFloat | fCurrentBestWeight
IRsNode * | pViewNode
IRsObjectList * | pObjectList

## Detailed Description

Internal snapping manager structure.

## Member Data Documentation

RtMovementSnapperInfo* RtPositionSnappingParameters::pSnapperInfo

User snapping information.

RtMatrixf RtPositionSnappingParameters::mCameraViewMatrix

Camera view matrix

RtMatrixf RtPositionSnappingParameters::mCameraProjectionMatrix

Camera projection matrix

RtMatrixf RtPositionSnappingParameters::mProjectionMatrix

CameraViewMatrix * CameraProjectionMatrix;

RtViewport RtPositionSnappingParameters::tViewport

Current view viewport parameters

RtBool RtPositionSnappingParameters::bTrackingEnabled

True if caller should maintain current position internaly to preserve precision; False if caller should set snapped position to current position.

RtPoint RtPositionSnappingParameters::ptCurrentPosition

Current un-snapped position.

RtVector2f RtPositionSnappingParameters::ptScreenPosition

Cursor position in screen space with 0,0 in upper left corner.

RtFloat RtPositionSnappingParameters::fCurrentBestWeight

Currently best snapping position weight when searching for snap point.

IRsNode* RtPositionSnappingParameters::pViewNode

Current view node.

IRsObjectList* RtPositionSnappingParameters::pObjectList

List of objects for which the snapping is computed.