REDNODE / GAME API

VisionBlockersRegistrar

classnative name senseVisionBlockersRegistrarnativeimportOnly

extends IScriptable › ISerializable

Methods 6

native func AttachToParent(blockerId: Uint32, parent: ref<GameObject>, opt offsetFromParent: Vector4)
native func DetachFromParent(blockerId: Uint32)
native func RegisterVisionBlocker(blockerShape: ref<IVisionBlockerShape>, blockerType: EVisionBlockerType, opt detectionModifier: Float, opt tbhModifier: Float, opt isBlockingCompletely: Bool, opt blocksParent: Bool) -> Uint32
native func SetIsBlockingCompletely(blockerId: Uint32, blockingCompletely: Bool)
native func UnregisterVisionBlocker(blockerId: Uint32)
native func UpdateVisionBlockerPosition(blockerId: Uint32, newPosition: Vector4)