Add Particles support for Large Worlds
This commit is contained in:
@@ -179,7 +179,6 @@ public:
|
||||
private:
|
||||
uint64 _lastUpdateFrame;
|
||||
Real _lastMinDstSqr;
|
||||
Matrix _world;
|
||||
int32 _sceneRenderingKey = -1;
|
||||
uint32 _parametersVersion = 0; // Version number for _parameters to be in sync with Instance.ParametersVersion
|
||||
Array<ParticleEffectParameter> _parameters; // Cached for scripting API
|
||||
@@ -246,15 +245,6 @@ public:
|
||||
API_FIELD(Attributes="EditorDisplay(\"Particle Effect\"), EditorOrder(75), DefaultValue(DrawPass.Default)")
|
||||
DrawPass DrawModes = DrawPass::Default;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the actor world matrix transform.
|
||||
/// </summary>
|
||||
/// <param name="world">Result world matrix</param>
|
||||
FORCE_INLINE void GetWorld(Matrix* world) const
|
||||
{
|
||||
*world = _world;
|
||||
}
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
/// Gets the effect parameters collection. Those parameters are instanced from the <see cref="ParticleSystem"/> that contains a linear list of emitters and every emitter has a list of own parameters.
|
||||
|
||||
Reference in New Issue
Block a user