Click or drag to resize

ColliderCollide Method

Detect if there is a collision with objects in a scene between the initial and the target point of view.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public RenderPointOfView Collide(
	RenderPointOfView initial,
	RenderPointOfView target,
	RenderSceneManager manager,
	SceneGuid scene
)

Parameters

initial
Type: Lumiscaphe.Workshop.InteropRenderPointOfView
The initial point of view.
target
Type: Lumiscaphe.Workshop.InteropRenderPointOfView
The target point of view.
manager
Type: Lumiscaphe.Workshop.InteropRenderSceneManager
The scene manager of your application.
scene
Type: Lumiscaphe.Workshop.InteropSceneGuid
The scene to detect collision with.

Return Value

Type: RenderPointOfView
Returns the target point of view if there is no collision. Otherwise, a new point of view computed according to the collision detection.
Exceptions
ExceptionCondition
ObjectDestroyedExceptionCollider::IsDestroyed == true, RenderSceneManager::IsDestroyed == true
ObjectNullExceptionmanager == null
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also