프로퍼티 | 타입 | 설명 | |
---|---|---|---|
direction | Vector3 | ||
specularIntensity | float | ||
specularPower | float |
메소드 | 설명 | |
---|---|---|
DirLight ( ) : Microsoft.Xna.Framework | ||
DirLight ( Color color ) : Microsoft.Xna.Framework | ||
DirLight ( Color color, Vector3 lightDirection ) : Microsoft.Xna.Framework | ||
debugRender ( Graphics graphics ) : void |
we dont want to render our bounds so we just render a direction
|
|
setDirection ( Vector3 direction ) : |
||
setSpecularIntensity ( float specularIntensity ) : |
||
setSpecularPower ( float specularPower ) : |
public DirLight ( Color color ) : Microsoft.Xna.Framework | ||
color | Color | |
리턴 | Microsoft.Xna.Framework |
public DirLight ( Color color, Vector3 lightDirection ) : Microsoft.Xna.Framework | ||
color | Color | |
lightDirection | Vector3 | |
리턴 | Microsoft.Xna.Framework |
public debugRender ( Graphics graphics ) : void | ||
graphics | Graphics | Graphics. |
리턴 | void |
public setDirection ( Vector3 direction ) : |
||
direction | Vector3 | |
리턴 |
public setSpecularIntensity ( float specularIntensity ) : |
||
specularIntensity | float | |
리턴 |
public setSpecularPower ( float specularPower ) : |
||
specularPower | float | |
리턴 |