![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Types | |
enum | EdgeDetectMode { EdgeDetectMode.TriangleDepthNormals = 0, EdgeDetectMode.RobertsCrossDepthNormals = 1, EdgeDetectMode.SobelDepth = 2, EdgeDetectMode.SobelDepthThin = 3, EdgeDetectMode.TriangleLuminance = 4 } |
Public Member Functions | |
override bool | CheckResources () |
![]() | |
bool | Dx11Support () |
Public Attributes | |
EdgeDetectMode | mode = EdgeDetectMode.SobelDepthThin |
float | sensitivityDepth = 1.0f |
float | sensitivityNormals = 1.0f |
float | lumThreshold = 0.2f |
float | edgeExp = 1.0f |
float | sampleDist = 1.0f |
float | edgesOnly = 0.0f |
Color | edgesOnlyBgColor = Color.white |
Shader | edgeDetectShader |
Private Member Functions | |
new void | Start () |
void | SetCameraFlag () |
void | OnEnable () |
void | OnRenderImage (RenderTexture source, RenderTexture destination) |
Private Attributes | |
Material | edgeDetectMaterial = null |
EdgeDetectMode | oldMode = EdgeDetectMode.SobelDepthThin |
Additional Inherited Members | |
![]() | |
Material | CheckShaderAndCreateMaterial (Shader s, Material m2Create) |
Material | CreateMaterial (Shader s, Material m2Create) |
bool | CheckSupport () |
void | Start () |
bool | CheckSupport (bool needDepth) |
bool | CheckSupport (bool needDepth, bool needHdr) |
void | ReportAutoDisable () |
void | NotSupported () |
void | DrawBorder (RenderTexture dest, Material material) |
![]() | |
bool | supportHDRTextures = true |
bool | supportDX11 = false |
bool | isSupported = true |
Definition at line 9 of file EdgeDetection.cs.
Enumerator | |
---|---|
TriangleDepthNormals | |
RobertsCrossDepthNormals | |
SobelDepth | |
SobelDepthThin | |
TriangleLuminance |
Definition at line 11 of file EdgeDetection.cs.
|
virtual |
Reimplemented from UnityStandardAssets.ImageEffects.PostEffectsBase.
Definition at line 35 of file EdgeDetection.cs.
|
private |
Definition at line 64 of file EdgeDetection.cs.
|
private |
Definition at line 70 of file EdgeDetection.cs.
|
private |
Definition at line 56 of file EdgeDetection.cs.
|
private |
Definition at line 51 of file EdgeDetection.cs.
|
private |
Definition at line 31 of file EdgeDetection.cs.
Shader UnityStandardAssets.ImageEffects.EdgeDetection.edgeDetectShader |
Definition at line 30 of file EdgeDetection.cs.
float UnityStandardAssets.ImageEffects.EdgeDetection.edgeExp = 1.0f |
Definition at line 25 of file EdgeDetection.cs.
float UnityStandardAssets.ImageEffects.EdgeDetection.edgesOnly = 0.0f |
Definition at line 27 of file EdgeDetection.cs.
Color UnityStandardAssets.ImageEffects.EdgeDetection.edgesOnlyBgColor = Color.white |
Definition at line 28 of file EdgeDetection.cs.
float UnityStandardAssets.ImageEffects.EdgeDetection.lumThreshold = 0.2f |
Definition at line 24 of file EdgeDetection.cs.
EdgeDetectMode UnityStandardAssets.ImageEffects.EdgeDetection.mode = EdgeDetectMode.SobelDepthThin |
Definition at line 21 of file EdgeDetection.cs.
|
private |
Definition at line 32 of file EdgeDetection.cs.
float UnityStandardAssets.ImageEffects.EdgeDetection.sampleDist = 1.0f |
Definition at line 26 of file EdgeDetection.cs.
float UnityStandardAssets.ImageEffects.EdgeDetection.sensitivityDepth = 1.0f |
Definition at line 22 of file EdgeDetection.cs.
float UnityStandardAssets.ImageEffects.EdgeDetection.sensitivityNormals = 1.0f |
Definition at line 23 of file EdgeDetection.cs.