public class SpotLight extends BaseLight
Modifier and Type | Field and Description |
---|---|
float |
cutoffAngle |
Vector3 |
direction |
float |
intensity |
Vector3 |
position |
Constructor and Description |
---|
SpotLight() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
equals(SpotLight other) |
SpotLight |
set(Color color,
float posX,
float posY,
float posZ,
float dirX,
float dirY,
float dirZ,
float intensity,
float cutoffAngle) |
SpotLight |
set(Color color,
Vector3 position,
Vector3 direction,
float intensity,
float cutoffAngle) |
SpotLight |
set(float r,
float g,
float b,
float posX,
float posY,
float posZ,
float dirX,
float dirY,
float dirZ,
float intensity,
float cutoffAngle) |
SpotLight |
set(float r,
float g,
float b,
Vector3 position,
Vector3 direction,
float intensity,
float cutoffAngle) |
SpotLight |
set(SpotLight copyFrom) |
SpotLight |
setTarget(Vector3 target) |
public final Vector3 position
public final Vector3 direction
public float intensity
public float cutoffAngle
public SpotLight set(Color color, Vector3 position, Vector3 direction, float intensity, float cutoffAngle)
public SpotLight set(float r, float g, float b, Vector3 position, Vector3 direction, float intensity, float cutoffAngle)
public SpotLight set(Color color, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float intensity, float cutoffAngle)
public SpotLight set(float r, float g, float b, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float intensity, float cutoffAngle)
public boolean equals(SpotLight other)
Copyright © 2015. All rights reserved.