SupportsProcedural() public method

public SupportsProcedural ( ) : bool
return bool
        override public void UpdateCullingSupportedString(ref string text)
        {
            Init();

            string failureReason = string.Empty;

            if (!m_X.SupportsProcedural(ref failureReason))
            {
                text += "\nForce over Lifetime module curve X: " + failureReason;
            }

            failureReason = string.Empty;
            if (!m_Y.SupportsProcedural(ref failureReason))
            {
                text += "\nForce over Lifetime module curve Y: " + failureReason;
            }

            failureReason = string.Empty;
            if (!m_Z.SupportsProcedural(ref failureReason))
            {
                text += "\nForce over Lifetime module curve Z: " + failureReason;
            }

            if (m_RandomizePerFrame.boolValue)
            {
                text += "\nRandomize is enabled in the Force over Lifetime module.";
            }
        }
Exemplo n.º 2
0
        override public void UpdateCullingSupportedString(ref string text)
        {
            Init();

            string failureReason = string.Empty;

            if (!m_Curve.SupportsProcedural(ref failureReason))
            {
                text += "\nInherit Velocity module curve: " + failureReason;
            }
        }
Exemplo n.º 3
0
        override public void UpdateCullingSupportedString(ref string text)
        {
            Init();

            string failureReason = string.Empty;

            if (!m_Curve.SupportsProcedural(ref failureReason))
            {
                text += "\nLifetime By Emitter Speed module curve: " + failureReason;
            }
        }
Exemplo n.º 4
0
        override public void UpdateCullingSupportedString(ref string text)
        {
            Init();

            string failureReason = string.Empty;

            if (!m_X.SupportsProcedural(ref failureReason))
            {
                text += "\nVelocity over Lifetime module curve X: " + failureReason;
            }

            failureReason = string.Empty;
            if (!m_Y.SupportsProcedural(ref failureReason))
            {
                text += "\nVelocity over Lifetime module curve Y: " + failureReason;
            }

            failureReason = string.Empty;
            if (!m_Z.SupportsProcedural(ref failureReason))
            {
                text += "\nVelocity over Lifetime module curve Z: " + failureReason;
            }

            failureReason = string.Empty;
            if (m_SpeedModifier.state != MinMaxCurveState.k_Scalar || m_SpeedModifier.maxConstant != 1.0f)
            {
                text += "\nVelocity over Lifetime module curve Speed Multiplier is being used";
            }

            failureReason = string.Empty;
            if (m_OrbitalX.maxConstant != 0.0f || m_OrbitalY.maxConstant != 0.0f || m_OrbitalZ.maxConstant != 0.0f)
            {
                text += "\nVelocity over Lifetime module orbital velocity is being used";
            }

            failureReason = string.Empty;
            if (m_Radial.maxConstant != 0.0f)
            {
                text += "\nVelocity over Lifetime module radial velocity is being used";
            }
        }
        override public void UpdateCullingSupportedString(ref string text)
        {
            Init();

            string failureReason = string.Empty;

            if (!m_X.SupportsProcedural(ref failureReason))
            {
                text += "\nRotation over Lifetime module curve X: " + failureReason;
            }

            failureReason = string.Empty;
            if (!m_Y.SupportsProcedural(ref failureReason))
            {
                text += "\nRotation over Lifetime module curve Y: " + failureReason;
            }

            failureReason = string.Empty;
            if (!m_Z.SupportsProcedural(ref failureReason))
            {
                text += "\nRotation over Lifetime module curve Z: " + failureReason;
            }
        }