C# Class OLDD_camera.Camera.BaseKspCamera

Afficher le fichier Open project: DennyTX/DockingCam

Méthodes publiques

Свойство Type Description
CurrentShader UnityEngine.Material
CurrentShaderName string

Protected Properties

Свойство Type Description
ElectricChargeAmount double
allCameras List
allCamerasGameObject List
cameraNames List
isTargetPoint bool
minZoomMultiplier int
part Part
partGameObject UnityEngine.GameObject
renderTexture UnityEngine.RenderTexture
rotateX float
rotateY float
rotateZ float
shaderType ShaderType
shaderType1 ShaderType1
shaderType2 ShaderType2
subWindowLabel string
textureBackGroundCamera UnityEngine.Texture
textureSeparator UnityEngine.Texture
textureTargetMark UnityEngine.Texture
updateGUIObject UpdateGUIObject
windowAddition float
windowCount int
windowId int
windowLabel string
windowSize float
windowSizeCoef int

Méthodes publiques

Méthode Description
Activate ( ) : void

Create and activate cameras

BaseKspCamera ( Part part, int windowSize, string windowLabel = "Camera" ) : System
Deactivate ( ) : void

Destroy cameras

ResizeWindow ( ) : IEnumerator
Update ( ) : void

Update position and rotation of the cameras

Méthodes protégées

Méthode Description
DestroyCameras ( ) : void

Destroy Cameras

ExtendedDrawWindowL1 ( ) : void

drawing method, first layer, for cameras

ExtendedDrawWindowL2 ( ) : void

drawing method, second layer (draw any texture between cam and interface)

ExtendedDrawWindowL3 ( ) : void

drawing method, third layer, interface

InitCameras ( ) : void

Initializes camera

InitTextures ( ) : void

Initializes texture

InitWindow ( ) : void

Initializes window

Render ( ) : RenderTexture

render texture camera

UpdateWhiteNoise ( ) : void

Private Methods

Méthode Description
Begin ( ) : void
DrawWindow ( int id ) : void

drawing method

FlightUIModeChanged ( FlightUIMode mode ) : void
GetX ( float x, float z ) : float
GetY ( float y, float z ) : float

Method Details

Activate() public méthode

Create and activate cameras
public Activate ( ) : void
Résultat void

BaseKspCamera() public méthode

public BaseKspCamera ( Part part, int windowSize, string windowLabel = "Camera" ) : System
part Part
windowSize int
windowLabel string
Résultat System

Deactivate() public méthode

Destroy cameras
public Deactivate ( ) : void
Résultat void

DestroyCameras() protected méthode

Destroy Cameras
protected DestroyCameras ( ) : void
Résultat void

ExtendedDrawWindowL1() protected méthode

drawing method, first layer, for cameras
protected ExtendedDrawWindowL1 ( ) : void
Résultat void

ExtendedDrawWindowL2() protected méthode

drawing method, second layer (draw any texture between cam and interface)
protected ExtendedDrawWindowL2 ( ) : void
Résultat void

ExtendedDrawWindowL3() protected méthode

drawing method, third layer, interface
protected ExtendedDrawWindowL3 ( ) : void
Résultat void

InitCameras() protected méthode

Initializes camera
protected InitCameras ( ) : void
Résultat void

InitTextures() protected méthode

Initializes texture
protected InitTextures ( ) : void
Résultat void

InitWindow() protected méthode

Initializes window
protected InitWindow ( ) : void
Résultat void

Render() protected méthode

render texture camera
protected Render ( ) : RenderTexture
Résultat UnityEngine.RenderTexture

ResizeWindow() public méthode

public ResizeWindow ( ) : IEnumerator
Résultat IEnumerator

Update() public méthode

Update position and rotation of the cameras
public Update ( ) : void
Résultat void

UpdateWhiteNoise() protected méthode

protected UpdateWhiteNoise ( ) : void
Résultat void

Property Details

CurrentShader public_oe static_oe property

public static Material,UnityEngine CurrentShader
Résultat UnityEngine.Material

CurrentShaderName public_oe static_oe property

public static string CurrentShaderName
Résultat string

ElectricChargeAmount protected_oe static_oe property

protected static double ElectricChargeAmount
Résultat double

allCameras protected_oe property

protected List allCameras
Résultat List

allCamerasGameObject protected_oe property

protected List allCamerasGameObject
Résultat List

cameraNames protected_oe property

protected List cameraNames
Résultat List

isTargetPoint protected_oe property

protected bool isTargetPoint
Résultat bool

minZoomMultiplier protected_oe property

protected int minZoomMultiplier
Résultat int

part protected_oe property

protected Part part
Résultat Part

partGameObject protected_oe property

protected GameObject,UnityEngine partGameObject
Résultat UnityEngine.GameObject

renderTexture protected_oe property

protected RenderTexture,UnityEngine renderTexture
Résultat UnityEngine.RenderTexture

rotateX protected_oe property

protected float rotateX
Résultat float

rotateY protected_oe property

protected float rotateY
Résultat float

rotateZ protected_oe property

protected float rotateZ
Résultat float

shaderType protected_oe property

protected ShaderType shaderType
Résultat ShaderType

shaderType1 protected_oe property

protected ShaderType1 shaderType1
Résultat ShaderType1

shaderType2 protected_oe property

protected ShaderType2 shaderType2
Résultat ShaderType2

subWindowLabel protected_oe property

protected string subWindowLabel
Résultat string

textureBackGroundCamera protected_oe property

protected Texture,UnityEngine textureBackGroundCamera
Résultat UnityEngine.Texture

textureSeparator protected_oe property

protected Texture,UnityEngine textureSeparator
Résultat UnityEngine.Texture

textureTargetMark protected_oe property

protected Texture,UnityEngine textureTargetMark
Résultat UnityEngine.Texture

updateGUIObject protected_oe property

protected UpdateGUIObject updateGUIObject
Résultat UpdateGUIObject

windowAddition protected_oe property

protected float windowAddition
Résultat float

windowCount protected_oe static_oe property

protected static int windowCount
Résultat int

windowId protected_oe property

protected int windowId
Résultat int

windowLabel protected_oe property

protected string windowLabel
Résultat string

windowSize protected_oe property

protected float windowSize
Résultat float

windowSizeCoef protected_oe property

protected int windowSizeCoef
Résultat int