コード例 #1
0
 public BodiesFieldGenerator(ParticlesFieldGenerator partFieldGen,
                             float bodyScaleMin   = 1.0f, float bodyScaleMax = 1.0f, float bodyRadius = 0.0f,
                             float safetyDistance = 0.0f)
 {
     m_partFieldGen   = partFieldGen;
     m_bodyScaleMin   = bodyScaleMin;
     m_bodyScaleMax   = bodyScaleMax;
     m_bodyRadius     = bodyRadius;
     m_safetyDistance = safetyDistance;
 }
コード例 #2
0
        public BodiesFieldGenerator(ParticlesFieldGenerator partFieldGen,
            float bodyScaleMin=1.0f, float bodyScaleMax=1.0f, float bodyRadius=0.0f,
			float safetyDistance = 0.0f)
        {
            m_partFieldGen = partFieldGen;
            m_bodyScaleMin = bodyScaleMin;
            m_bodyScaleMax = bodyScaleMax;
            m_bodyRadius = bodyRadius;
            m_safetyDistance = safetyDistance;
        }
コード例 #3
0
 public BodiesFieldGenerator(ParticlesFieldGenerator partFieldGen,
     float bodyScaleMin=1.0f, float bodyScaleMax=1.0f, float bodyRadius=0.0f,
     float safetyDistance = 0.0f, OrientPolicy oriPolicy = OrientPolicy.Random)
 {
     m_partFieldGen = partFieldGen;
     m_bodyScaleMin = bodyScaleMin;
     m_bodyScaleMax = bodyScaleMax;
     m_bodyRadius = bodyRadius;
     m_safetyDistance = safetyDistance;
     m_orientPolicy = oriPolicy;
     SetSeed(0);
 }
コード例 #4
0
 public BodiesFieldGenerator(ParticlesFieldGenerator partFieldGen,
                             float bodyScaleMin   = 1.0f, float bodyScaleMax     = 1.0f, float bodyRadius = 0.0f,
                             float safetyDistance = 0.0f, OrientPolicy oriPolicy = OrientPolicy.Random)
 {
     m_partFieldGen   = partFieldGen;
     m_bodyScaleMin   = bodyScaleMin;
     m_bodyScaleMax   = bodyScaleMax;
     m_bodyRadius     = bodyRadius;
     m_safetyDistance = safetyDistance;
     m_orientPolicy   = oriPolicy;
     SetSeed(0);
 }
コード例 #5
0
 public SSParticlesFieldEmitter(ParticlesFieldGenerator fieldGenerator)
 {
     m_fieldGenerator = fieldGenerator;
 }
コード例 #6
0
 public SSParticlesFieldEmitter(ParticlesFieldGenerator fieldGenerator)
 {
     m_fieldGenerator = fieldGenerator;
 }