예제 #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;
 }