C# Class AQUAS_Reflection

Inheritance: MonoBehaviour
显示文件 Open project: FIU-SCIS-Senior-Projects/UrbanTheater Class Usage Examples

Public Properties

Property Type Description
m_ClipPlaneOffset float
m_DisablePixelLights bool
m_ReflectLayers LayerMask
m_TextureSize int

Public Methods

Method Description
OnDisable ( ) : void
OnWillRenderObject ( ) : void

Private Methods

Method Description
CalculateObliqueMatrix ( Matrix4x4 &projection, Vector4 clipPlane ) : void
CalculateReflectionMatrix ( Matrix4x4 &reflectionMat, Vector4 plane ) : void
CameraSpacePlane ( Camera cam, Vector3 pos, Vector3 normal, float sideSign ) : Vector4
CreateMirrorObjects ( Camera currentCamera, Camera &reflectionCamera ) : void
UpdateCameraModes ( Camera src, Camera dest ) : void
sgn ( float a ) : float

Method Details

OnDisable() public method

public OnDisable ( ) : void
return void

OnWillRenderObject() public method

public OnWillRenderObject ( ) : void
return void

Property Details

m_ClipPlaneOffset public_oe property

public float m_ClipPlaneOffset
return float

m_DisablePixelLights public_oe property

public bool m_DisablePixelLights
return bool

m_ReflectLayers public_oe property

public LayerMask m_ReflectLayers
return LayerMask

m_TextureSize public_oe property

public int m_TextureSize
return int