Gets a Boolean that specifies if the camera is valid (has TargetViewport3D
that has a valid size; has valid values for all properties).
When camera is valid the Point3DTo2D(Point3D)
returns correct value; when the camera is not valid, the Point3DTo2D method cannot calculate the 2D screen position.
Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 10.1.8147.1045
public virtual bool IsValid(
bool checkAllProperties = true
- checkAllProperties (Optional)
- Type: SystemBoolean
when true (by default) then all camera properties are checked for valid values; when false then only check that TargetViewport3D is set and its size is not empty is done (used for performance critical job because this avoid reading many DependencyProperties)
true when camera is valid (has TargetViewport3D that has a valid size)