当前位置: 首页>>代码示例>>C++>>正文


C++ LineDistribution3DRefPtr::setPoint2方法代码示例

本文整理汇总了C++中LineDistribution3DRefPtr::setPoint2方法的典型用法代码示例。如果您正苦于以下问题:C++ LineDistribution3DRefPtr::setPoint2方法的具体用法?C++ LineDistribution3DRefPtr::setPoint2怎么用?C++ LineDistribution3DRefPtr::setPoint2使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在LineDistribution3DRefPtr的用法示例。


在下文中一共展示了LineDistribution3DRefPtr::setPoint2方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: createColorDistribution

Distribution3DRefPtr createColorDistribution(void)
{
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(0.5,0.5,0.5));
    TheLineDistribution->setPoint2(Pnt3f(1.0,1.0,1.0));

    return TheLineDistribution;
}
开发者ID:danguilliams,项目名称:OpenSGToolbox,代码行数:8,代码来源:02ParticleSysParticleTrailGenerator.cpp

示例2: createSizeDistribution

Distribution3DRefPtr createSizeDistribution(void)
{
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
      TheLineDistribution->setPoint1(Pnt3f(3.0,3.0,3.0));
      TheLineDistribution->setPoint2(Pnt3f(1.0,1.0,1.0));

	return TheLineDistribution;
}
开发者ID:danguilliams,项目名称:OpenSGToolbox,代码行数:8,代码来源:02DynamicDistributions.cpp

示例3: createSizeDistribution

Distribution3DRefPtr createSizeDistribution(void)
{
    //Sphere Distribution
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(5.0,5.0,1.0));
    TheLineDistribution->setPoint2(Pnt3f(10.0,10.0,1.0));

    return TheLineDistribution;
}
开发者ID:rdgoetz,项目名称:OpenSGToolbox,代码行数:9,代码来源:07AgeSizeParticleAffector.cpp

示例4: createPositionDistribution

Distribution3DRefPtr createPositionDistribution(void)
{
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(0.0f,0.0f,0.0f));
    TheLineDistribution->setPoint2(Pnt3f(0.1f,0.0f,0.0f));


    return TheLineDistribution;
}
开发者ID:Langkamp,项目名称:OpenSGToolbox,代码行数:9,代码来源:28ConserveVelocityParticleAffector.cpp

示例5: createVelocityDistribution

Distribution3DRefPtr createVelocityDistribution(void)
{
    //Line Distribution, no velocity
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(0.0,0.0,0.0));
    TheLineDistribution->setPoint2(Pnt3f(0.0,0.0,0.0));

    return TheLineDistribution;
}
开发者ID:danguilliams,项目名称:OpenSGToolbox,代码行数:9,代码来源:14ParticleSorting.cpp

示例6: createTrailSizeDistribution

Distribution3DRefPtr createTrailSizeDistribution(void)
{
    //Line Distribution
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(2.0,2.0,2.0));
    TheLineDistribution->setPoint2(Pnt3f(2.5,2.5,2.5));

    return TheLineDistribution;
}
开发者ID:danguilliams,项目名称:OpenSGToolbox,代码行数:9,代码来源:02ParticleSysParticleTrailGenerator.cpp

示例7: createSizeDistribution

Distribution3DRefPtr createSizeDistribution(void)
{
    //Line Distribution
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(4.45,4.45,4.45));
    TheLineDistribution->setPoint2(Pnt3f(4.45,4.45,4.45));

    return TheLineDistribution;
}
开发者ID:danguilliams,项目名称:OpenSGToolbox,代码行数:9,代码来源:02ParticleSysParticleTrailGenerator.cpp

示例8: createSmokeVelocityDistribution

Distribution3DRefPtr createSmokeVelocityDistribution(void)
{
    //Sphere Distribution
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(0.0,1.0,1.0));
    TheLineDistribution->setPoint2(Pnt3f(0.0,1.0,3.0));

    return TheLineDistribution;
}
开发者ID:Himbeertoni,项目名称:OpenSGToolbox,代码行数:9,代码来源:20RocketLauncher.cpp

示例9: createSmokeColorDistribution

Distribution3DRefPtr createSmokeColorDistribution(void)
{
    //Line Distribution
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(0.0,0.0,0.0));
    TheLineDistribution->setPoint2(Pnt3f(0.15,0.15,0.15));

    return TheLineDistribution;
}
开发者ID:ahuballah,项目名称:OpenSGToolbox,代码行数:9,代码来源:06Explosion.cpp

示例10: createSizeDistribution

Distribution3DRecPtr createSizeDistribution(void)
{
    //Line Distribution
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(1.2,1.2,1.0));
    TheLineDistribution->setPoint2(Pnt3f(1.4,1.4,1.0));

    return TheLineDistribution;
}
开发者ID:ahuballah,项目名称:OpenSGToolbox,代码行数:9,代码来源:06Explosion.cpp

示例11: createAccelerationDistribution

Distribution3DRefPtr createAccelerationDistribution(void)
{
    //Line Distribution
    LineDistribution3DRefPtr TheLineDistribution = LineDistribution3D::create();
    TheLineDistribution->setPoint1(Pnt3f(0.0,0.0,0.0));
    TheLineDistribution->setPoint2(Pnt3f(0.0,0.0,0.0));

    return TheLineDistribution;
}
开发者ID:Langkamp,项目名称:OpenSGToolbox,代码行数:9,代码来源:04BurstParticleGenerator.cpp


注:本文中的LineDistribution3DRefPtr::setPoint2方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。