Click or drag to resize
AB4D logo

ThirdPersonCameraIsValid 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.Cameras
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
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

Boolean
true when camera is valid (has TargetViewport3D that has a valid size)
See Also