本文整理汇总了C++中MayaCamUI::mouseDown方法的典型用法代码示例。如果您正苦于以下问题:C++ MayaCamUI::mouseDown方法的具体用法?C++ MayaCamUI::mouseDown怎么用?C++ MayaCamUI::mouseDown使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类MayaCamUI
的用法示例。
在下文中一共展示了MayaCamUI::mouseDown方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: mouseDown
void ObjLoaderApp::mouseDown( MouseEvent event )
{
if( event.isAltDown() )
mMayaCam.mouseDown( event.getPos() );
else
mArcball.mouseDown( event.getPos() );
}
示例2: mouseDown
void MarionetteZooApp::mouseDown( MouseEvent event )
{
if ( mCameraLock )
mBulletWorld->mouseDown( event, mMayaCam.getCamera() );
else
mMayaCam.mouseDown( event.getPos() );
}
示例3: mouseDown
void AudioVisualizerApp::mouseDown( MouseEvent event )
{
// handle mouse down
mIsMouseDown = true;
mMayaCam.setCurrentCam(mCamera);
mMayaCam.mouseDown( event.getPos() );
}
示例4: mouseDown
void wellingtonModelApp::mouseDown( MouseEvent event )
{
// /*
if( event.isAltDown() )
mMayaCam.mouseDown( event.getPos() );
else
mArcball.mouseDown( event.getPos() );
// */
}
示例5: mouseDown
void GeometryApp::mouseDown( MouseEvent event )
{
mRecenterCamera = false;
mMayaCam.setCurrentCam( mCamera );
mMayaCam.mouseDown( event.getPos() );
if( getElapsedSeconds() - mLastMouseDownTime < 0.2f ) {
mPrimitiveSelected = static_cast<Primitive>( static_cast<int>(mPrimitiveSelected) + 1 );
createGeometry();
}
mLastMouseDownTime = getElapsedSeconds();
}
示例6: mouseDown
void LookAroundYouApp::mouseDown( MouseEvent event )
{
mMousePos = event.getPos();
mMayaCam.mouseDown( mMousePos );
}
示例7: mouseDown
void WaterSimulationApp::mouseDown( MouseEvent event ){
mMayaCam.mouseDown(event.getPos());
}
示例8: mouseDown
void _TBOX_PREFIX_App::mouseDown( MouseEvent event )
{
mMousePos = event.getPos();
mMayaCam.mouseDown( mMousePos );
}
示例9: mouseDown
void rayMarcherApp::mouseDown( MouseEvent event )
{
mMayaCam.mouseDown( event.getPos() );
}
示例10: mouseDown
void ssaoApp::mouseDown( MouseEvent event )
{
if( event.isAltDown() ) {
mMayaCam.mouseDown( event.getPos() );
}
}
示例11: mouseDown
void TerrainApp::mouseDown( MouseEvent event )
{
mMayaCam.mouseDown( event.getPos() );
}
示例12: mouseDown
void GizmoSampleApp::mouseDown( MouseEvent event ){
if( event.isAltDown() )
mCamUI.mouseDown( event.getPos() );
}
示例13: mouseDown
void MeshViewApp::mouseDown(MouseEvent event)
{
m_mayaCamera.setCurrentCam(m_camera);
m_mayaCamera.mouseDown(event.getPos());
}
示例14: mouseDown
void EpicMonsterApp::mouseDown( MouseEvent event )
{
mMayaCam.mouseDown( event.getPos() );
}
示例15: mouseDown
void HiKinectApp::mouseDown( MouseEvent event ) {
mIsMouseDown = true;
mCamUI.mouseDown(event.getPos());
}