C# Class AQUAS_Reflection

Inheritance: MonoBehaviour
Afficher le fichier Open project: FIU-SCIS-Senior-Projects/UrbanTheater Class Usage Examples

Méthodes publiques

Свойство Type Description
m_ClipPlaneOffset float
m_DisablePixelLights bool
m_ReflectLayers LayerMask
m_TextureSize int

Méthodes publiques

Méthode Description
OnDisable ( ) : void
OnWillRenderObject ( ) : void

Private Methods

Méthode 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 méthode

public OnDisable ( ) : void
Résultat void

OnWillRenderObject() public méthode

public OnWillRenderObject ( ) : void
Résultat void

Property Details

m_ClipPlaneOffset public_oe property

public float m_ClipPlaneOffset
Résultat float

m_DisablePixelLights public_oe property

public bool m_DisablePixelLights
Résultat bool

m_ReflectLayers public_oe property

public LayerMask m_ReflectLayers
Résultat LayerMask

m_TextureSize public_oe property

public int m_TextureSize
Résultat int