Class Outlinable
- Namespace
- EPOOutline
- Assembly
- Assembly-CSharp-firstpass.dll
[ExecuteAlways]
public class Outlinable : MonoBehaviour
- Inheritance
-
Outlinable
- Inherited Members
-
- Extension Methods
-
Constructors
Outlinable()
Fields
backParameters
[SerializeField]
public Outlinable.OutlineProperties backParameters
Field Value
- Outlinable.OutlineProperties
complexMaskingMode
[SerializeField]
public ComplexMaskingMode complexMaskingMode
Field Value
- ComplexMaskingMode
drawingMode
[SerializeField]
public OutlinableDrawingMode drawingMode
Field Value
- OutlinableDrawingMode
frontParameters
[SerializeField]
public Outlinable.OutlineProperties frontParameters
Field Value
- Outlinable.OutlineProperties
outlinables
public static HashSet<Outlinable> outlinables
Field Value
- HashSet<Outlinable>
outlineLayer
[SerializeField]
public int outlineLayer
Field Value
- int
outlineParameters
[SerializeField]
public Outlinable.OutlineProperties outlineParameters
Field Value
- Outlinable.OutlineProperties
outlineTargets
[SerializeField]
public List<OutlineTarget> outlineTargets
Field Value
- List<OutlineTarget>
renderStyle
[SerializeField]
public RenderStyle renderStyle
Field Value
- RenderStyle
shouldValidateTargets
public bool shouldValidateTargets
Field Value
- bool
tempListeners
public static List<TargetStateListener> tempListeners
Field Value
- List<TargetStateListener>
Properties
BackParameters
public Outlinable.OutlineProperties BackParameters { get; }
Property Value
- Outlinable.OutlineProperties
ComplexMaskingEnabled
public bool ComplexMaskingEnabled { get; }
Property Value
- bool
ComplexMaskingMode
public ComplexMaskingMode ComplexMaskingMode { get; set; }
Property Value
- ComplexMaskingMode
DrawingMode
public OutlinableDrawingMode DrawingMode { get; set; }
Property Value
- OutlinableDrawingMode
FrontParameters
public Outlinable.OutlineProperties FrontParameters { get; }
Property Value
- Outlinable.OutlineProperties
IsObstacle
public bool IsObstacle { get; }
Property Value
- bool
this[int]
public OutlineTarget this[int index] { get; set; }
Parameters
index
int
Property Value
- OutlineTarget
NeedFillMask
public bool NeedFillMask { get; }
Property Value
- bool
OutlineLayer
public int OutlineLayer { get; set; }
Property Value
- int
OutlineParameters
public Outlinable.OutlineProperties OutlineParameters { get; }
Property Value
- Outlinable.OutlineProperties
OutlineTargets
public IReadOnlyList<OutlineTarget> OutlineTargets { get; }
Property Value
- IReadOnlyList<OutlineTarget>
RenderStyle
public RenderStyle RenderStyle { get; set; }
Property Value
- RenderStyle
Methods
AddAllChildRenderersToRenderingList(RenderersAddingMode, bool)
public void AddAllChildRenderersToRenderingList(RenderersAddingMode renderersAddingMode = (RenderersAddingMode)-1, bool includeInactive = true)
Parameters
renderersAddingMode
RenderersAddingMode
includeInactive
bool
Awake()
ClearOutlineTargets()
public void ClearOutlineTargets()
GetAllActiveOutlinables(Camera, List<Outlinable>)
public static void GetAllActiveOutlinables(Camera camera, List<Outlinable> outlinablesList)
Parameters
camera
Camera
outlinablesList
List<Outlinable>
GetSubmeshCount(Renderer)
public int GetSubmeshCount(Renderer renderer)
Parameters
renderer
Renderer
Returns
- int
MatchingMode(Renderer, RenderersAddingMode)
public bool MatchingMode(Renderer renderer, RenderersAddingMode mode)
Parameters
renderer
Renderer
mode
RenderersAddingMode
Returns
- bool
OnDestroy()
OnDisable()
OnEnable()
OnValidate()
RemoveTarget(OutlineTarget)
public void RemoveTarget(OutlineTarget target)
Parameters
target
OutlineTarget
Reset()
SubscribeToVisibilityChange(GameObject)
public void SubscribeToVisibilityChange(GameObject go)
Parameters
go
GameObject
TryAddTarget(OutlineTarget)
public bool TryAddTarget(OutlineTarget target)
Parameters
target
OutlineTarget
Returns
- bool
Update()
UpdateVisibility()
public void UpdateVisibility()
ValidateTargets()
public void ValidateTargets()