# RtScaleSnappingParameters Struct Reference

List of all members.

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

## Detailed Description

Internal snapping manager structure.

## Member Data Documentation

RtScaleSnapperInfo* RtScaleSnappingParameters::pSnapperInfo

User snapping information.

RtMatrixf RtScaleSnappingParameters::mCameraViewMatrix

Camera view matrix

RtMatrixf RtScaleSnappingParameters::mCameraProjectionMatrix

Camera projection matrix

RtMatrixf RtScaleSnappingParameters::mProjectionMatrix

CameraViewMatrix * CameraProjectionMatrix;

RtViewport RtScaleSnappingParameters::tViewport

Current view viewport parameters

RtBool RtScaleSnappingParameters::bTrackingEnabled

True if caller should maintain current scale internally to preserve precision; False if caller should set snapped scale to current scale.

RtPoint RtScaleSnappingParameters::ptCurrentScale

Current unsnapped scale.

RtVector2f RtScaleSnappingParameters::ptScreenPosition

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

RtFloat RtScaleSnappingParameters::fCurrentBestWeight

Currently best snapping scale weight when searching for snap.

IRsNode* RtScaleSnappingParameters::pViewNode

Current view node.

IRsObjectList* RtScaleSnappingParameters::pObjectList

List of objects for which the snapping is computed.