本文整理汇总了C++中sfbool::GetValueEvent::getValuePtr方法的典型用法代码示例。如果您正苦于以下问题:C++ GetValueEvent::getValuePtr方法的具体用法?C++ GetValueEvent::getValuePtr怎么用?C++ GetValueEvent::getValuePtr使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类sfbool::GetValueEvent
的用法示例。
在下文中一共展示了GetValueEvent::getValuePtr方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
void
av::gua::gui::GuiResourceNode::getInteractiveCB(const SFBool::GetValueEvent& event)
{
*(event.getValuePtr()) = m_guaGuiResource->is_interactive();
}
示例2:
void av::gua::LightNode::getEnableDiffuseShadingCB(const SFBool::GetValueEvent& event) { *(event.getValuePtr()) = m_guaNode->data.enable_diffuse_shading(); }
示例3:
void
av::gua::Constraint::getEnabledCB(const SFBool::GetValueEvent& event)
{
*(event.getValuePtr()) = m_guaConstraint->enabled();
}
示例4:
void av::gua::TexturedQuadNode::getFlipYCB(const SFBool::GetValueEvent& event) { *(event.getValuePtr()) = m_guaNode->data.flip_y(); }
示例5:
void
av::gua::CollisionShape::getIsStaticShapeCB(const SFBool::GetValueEvent& event)
{
*(event.getValuePtr()) = m_guaShape->is_static_shape();
}
示例6:
void
av::gua::CameraNode::getEnableStereoCB(const SFBool::GetValueEvent& event)
{
*(event.getValuePtr()) = m_guaNode->config.enable_stereo();
}
示例7:
void
av::gua::PipelineDescription::getEnableABufferCB(const SFBool::GetValueEvent& event)
{
*(event.getValuePtr()) = m_guaPipelineDescription->get_enable_abuffer();
}
示例8:
void
av::gua::FixedConstraint::getLockTranslationCB(const SFBool::GetValueEvent& event)
{
*(event.getValuePtr()) = m_guaConstraint->is_translation_locked();
}
示例9:
void
av::gua::ResolvePassDescription::getEnableScreenSpaceShadowCB(const SFBool::GetValueEvent& event)
{
*(event.getValuePtr()) = m_guaResolvePassDescription->screen_space_shadows();
}
示例10:
/* virtual */ void
av::osg::AutoTransform::getAutoScaleToScreenCB(const SFBool::GetValueEvent& event)
{
*(event.getValuePtr()) = mOsgAutoTransform->getAutoScaleToScreen();
}