|
FreeCameraIsValid Method |
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.
Namespace: Ab3d.CamerasAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public override bool IsValid(
bool checkAllProperties = true
)
Parameters
- checkAllProperties Boolean (Optional)
- 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)
Return Value
Booleantrue when camera is valid (has TargetViewport3D that has a valid size)
See Also