Planar |
public class PlanarShadowMeshCreator
The PlanarShadowMeshCreator type exposes the following members.
Name | Description | |
---|---|---|
PlanarShadowMeshCreator(GroupNode) | Constructor | |
PlanarShadowMeshCreator(StandardMesh) | Constructor |
Name | Description | |
---|---|---|
ClipToPlane | Gets or sets a boolean that specifies if the shadow mesh is clipped to the plane's edge. Default value is true. | |
OriginalGroupNode | Gets the GroupNode that was used to create the planar shadow mesh (set when PlanarShadowMeshCreator is created from a GroupNode). | |
OriginalMesh | Gets the StandardMesh that was used to create the planar shadow mesh (set when PlanarShadowMeshCreator is created from a StandardMesh). | |
ShadowMesh | ShadowMesh gets the StandardMesh that represents a show geometry that was generated after calling ApplyDirectionalLight(Vector3), ApplyPointLight(Vector3) or ApplyShadowMatrix(Matrix4x4). |
Name | Description | |
---|---|---|
ApplyDirectionalLight | ApplyShadowMatrix method updates the ShadowMesh with the specified directional light's direction Vector3. The created shadow mesh can be read from ShadowMesh. | |
ApplyPointLight | ApplyShadowMatrix method updates the ShadowMesh with the specified point light's position. The created shadow mesh can be read from ShadowMesh. | |
ApplyShadowMatrix | ApplyShadowMatrix method updates the shadow mesh with the specified shadow matrix. The created shadow mesh can be read from ShadowMesh. | |
SetPlane(PlaneModelNode) | SetPlane method sets the plane for the shadow mesh from the specified PlaneModelNode. | |
SetPlane(Vector3, Vector3, Vector3, Vector2) | SetPlane method sets the plane for the shadow mesh from the specified plane information. | |
UpdateGroupNode | UpdateGroupNode must be called when the GroupNode that was used to create this PlanarShadowMeshCreator was changed. | |
UpdateMesh | UpdateMesh must be called when the StandardMesh that was used to create this PlanarShadowMeshCreator was changed. |