DirectionalLight.Direction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the vector along which the light's effect will be seen on models in a 3-D scene.
public:
property System::Windows::Media::Media3D::Vector3D Direction { System::Windows::Media::Media3D::Vector3D get(); void set(System::Windows::Media::Media3D::Vector3D value); };
public System.Windows.Media.Media3D.Vector3D Direction { get; set; }
member this.Direction : System.Windows.Media.Media3D.Vector3D with get, set
Public Property Direction As Vector3D
Property Value
Vector3D along which the light projects, and which must have a non-zero magnitude. The default value is (0,0,-1)
.
Remarks
Dependency Property Information
Identifier field | DirectionProperty |
Metadata properties set to true |
None |
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา