Bagikan melalui


SpotLight Konstruktor

Definisi

Menginisialisasi instans baru kelas SpotLight.

Overload

SpotLight()

Menginisialisasi instans baru kelas SpotLight.

SpotLight(Color, Point3D, Vector3D, Double, Double)

Menginisialisasi instans SpotLight baru kelas menggunakan warna, posisi, arah, dan sudut kerujut yang ditentukan.

SpotLight()

Menginisialisasi instans baru kelas SpotLight.

public:
 SpotLight();
public SpotLight ();
Public Sub New ()

Berlaku untuk

SpotLight(Color, Point3D, Vector3D, Double, Double)

Menginisialisasi instans SpotLight baru kelas menggunakan warna, posisi, arah, dan sudut kerujut yang ditentukan.

public:
 SpotLight(System::Windows::Media::Color diffuseColor, System::Windows::Media::Media3D::Point3D position, System::Windows::Media::Media3D::Vector3D direction, double outerConeAngle, double innerConeAngle);
public SpotLight (System.Windows.Media.Color diffuseColor, System.Windows.Media.Media3D.Point3D position, System.Windows.Media.Media3D.Vector3D direction, double outerConeAngle, double innerConeAngle);
new System.Windows.Media.Media3D.SpotLight : System.Windows.Media.Color * System.Windows.Media.Media3D.Point3D * System.Windows.Media.Media3D.Vector3D * double * double -> System.Windows.Media.Media3D.SpotLight
Public Sub New (diffuseColor As Color, position As Point3D, direction As Vector3D, outerConeAngle As Double, innerConeAngle As Double)

Parameter

diffuseColor
Color

Warna difus dari yang baru SpotLight.

position
Point3D

Posisi baru SpotLight.

direction
Vector3D

Arah baru SpotLight.

outerConeAngle
Double

Sudut yang mendefinisikan kerujut di luar yang cahayanya tidak menerangi objek di adegan.

innerConeAngle
Double

Sudut yang mendefinisikan kerujut di mana cahaya sepenuhnya menerangi objek di adegan.

Berlaku untuk