C# 클래스 Nez.DeferredLighting.SpotLight

상속: PointLight
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
coneAngle float

공개 메소드들

메소드 설명
SpotLight ( ) : System
SpotLight ( Color color ) : System
setConeAngle ( float coneAngle ) : SpotLight
setDirection ( Vector2 direction ) : SpotLight

wrapper for entity.transform.rotation to ease in setting up direction of spots to point at specific locations

setIntensity ( float intensity ) : SpotLight

brightness of the light

setRadius ( float radius ) : SpotLight

how far does this light reach

setZPosition ( float z ) : SpotLight

메소드 상세

SpotLight() 공개 메소드

public SpotLight ( ) : System
리턴 System

SpotLight() 공개 메소드

public SpotLight ( Color color ) : System
color Color
리턴 System

setConeAngle() 공개 메소드

public setConeAngle ( float coneAngle ) : SpotLight
coneAngle float
리턴 SpotLight

setDirection() 공개 메소드

wrapper for entity.transform.rotation to ease in setting up direction of spots to point at specific locations
public setDirection ( Vector2 direction ) : SpotLight
direction Vector2 Direction.
리턴 SpotLight

setIntensity() 공개 메소드

brightness of the light
public setIntensity ( float intensity ) : SpotLight
intensity float Intensity.
리턴 SpotLight

setRadius() 공개 메소드

how far does this light reach
public setRadius ( float radius ) : SpotLight
radius float Radius.
리턴 SpotLight

setZPosition() 공개 메소드

public setZPosition ( float z ) : SpotLight
z float
리턴 SpotLight

프로퍼티 상세

coneAngle 공개적으로 프로퍼티

angle in degrees of the cone
public float coneAngle
리턴 float