⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class SurfaceManager

    Inheritance
    Object
    NeoFpsManagerBase
    NeoFpsManager<SurfaceManager>
    SurfaceManager
    Inherited Members
    NeoFpsManager<SurfaceManager>.instance
    NeoFpsManager<SurfaceManager>.GetInstance(String, Boolean)
    NeoFpsManager<SurfaceManager>.GetBehaviourProxy<B>()
    NeoFpsManagerBase.GetSharedGameobject()
    NeoFpsManagerBase.DisableRuntimeManagers()
    NeoFpsManagerBase.EnableRuntimeManagers()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public class SurfaceManager : NeoFpsManager<SurfaceManager>

    Fields

    s_ProxyBehaviour

    Declaration
    protected static SurfaceManager.RuntimeBehaviour s_ProxyBehaviour
    Field Value
    Type Description
    SurfaceManager.RuntimeBehaviour

    Properties

    currentOverrides

    Declaration
    public static SurfaceFxOverrides currentOverrides { get; }
    Property Value
    Type Description
    SurfaceFxOverrides

    decalLayers

    Declaration
    public static LayerMask decalLayers { get; }
    Property Value
    Type Description
    LayerMask

    Methods

    ApplyOverrides(SurfaceFxOverrides)

    Declaration
    public static void ApplyOverrides(SurfaceFxOverrides overrides)
    Parameters
    Type Name Description
    SurfaceFxOverrides overrides

    ApplyOverridesInternal(SurfaceFxOverrides)

    Declaration
    protected virtual void ApplyOverridesInternal(SurfaceFxOverrides overrides)
    Parameters
    Type Name Description
    SurfaceFxOverrides overrides

    Awake()

    Declaration
    protected void Awake()

    Initialise()

    Declaration
    protected override void Initialise()
    Overrides
    NeoFPS.NeoFpsManager<NeoFPS.SurfaceManager>.Initialise()

    IsValid()

    Declaration
    public override bool IsValid()
    Returns
    Type Description
    System.Boolean
    Overrides
    NeoFpsManagerBase.IsValid()

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    NeoFPS.NeoFpsManager<NeoFPS.SurfaceManager>.OnDestroy()

    OnValidate()

    Declaration
    protected void OnValidate()

    PlayImpactNoiseAtPosition(FpsSurfaceMaterial, Vector3, Single)

    Declaration
    public static void PlayImpactNoiseAtPosition(FpsSurfaceMaterial surfaceMaterial, Vector3 position, float volume)
    Parameters
    Type Name Description
    FpsSurfaceMaterial surfaceMaterial
    Vector3 position
    System.Single volume

    PlayImpactNoiseAtPositionInternal(FpsSurfaceMaterial, Vector3, Single)

    Declaration
    protected virtual void PlayImpactNoiseAtPositionInternal(FpsSurfaceMaterial surfaceMaterial, Vector3 position, float volume)
    Parameters
    Type Name Description
    FpsSurfaceMaterial surfaceMaterial
    Vector3 position
    System.Single volume

    RemoveOverrides(SurfaceFxOverrides)

    Declaration
    public static void RemoveOverrides(SurfaceFxOverrides overrides)
    Parameters
    Type Name Description
    SurfaceFxOverrides overrides

    RemoveOverridesInternal(SurfaceFxOverrides)

    Declaration
    protected virtual void RemoveOverridesInternal(SurfaceFxOverrides overrides)
    Parameters
    Type Name Description
    SurfaceFxOverrides overrides

    ShowBulletHit(RaycastHit, Vector3, Single, Boolean)

    Declaration
    public static void ShowBulletHit(RaycastHit hit, Vector3 rayDirection, float size, bool rigidBody = false)
    Parameters
    Type Name Description
    RaycastHit hit
    Vector3 rayDirection
    System.Single size
    System.Boolean rigidBody

    ShowBulletHitInternal(RaycastHit, Vector3, Single, Boolean)

    Declaration
    protected virtual void ShowBulletHitInternal(RaycastHit hit, Vector3 rayDirection, float size, bool rigidBody)
    Parameters
    Type Name Description
    RaycastHit hit
    Vector3 rayDirection
    System.Single size
    System.Boolean rigidBody

    ShowImpactFX(FpsSurfaceMaterial, Vector3, Vector3, Boolean, Single)

    Declaration
    public static void ShowImpactFX(FpsSurfaceMaterial surfaceMaterial, Vector3 position, Vector3 normal, bool decal = false, float size = 1F)
    Parameters
    Type Name Description
    FpsSurfaceMaterial surfaceMaterial
    Vector3 position
    Vector3 normal
    System.Boolean decal
    System.Single size

    ShowImpactFX(FpsSurfaceMaterial, Vector3, Vector3, Int32, Single)

    Declaration
    public static void ShowImpactFX(FpsSurfaceMaterial surfaceMaterial, Vector3 position, Vector3 normal, int layerIndex, float size = 1F)
    Parameters
    Type Name Description
    FpsSurfaceMaterial surfaceMaterial
    Vector3 position
    Vector3 normal
    System.Int32 layerIndex
    System.Single size

    ShowImpactFXInternal(FpsSurfaceMaterial, Vector3, Vector3, Single, Boolean)

    Declaration
    protected virtual void ShowImpactFXInternal(FpsSurfaceMaterial surfaceMaterial, Vector3 position, Vector3 normal, float size, bool decal)
    Parameters
    Type Name Description
    FpsSurfaceMaterial surfaceMaterial
    Vector3 position
    Vector3 normal
    System.Single size
    System.Boolean decal
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX