IMyCameraBlock Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.Ingame
The IMyCameraBlock type exposes the following members.
Name | Description | |
---|---|---|
![]() | CanScan(Double) |
Checks if the camera can scan the given distance.
|
![]() | CanScan(Vector3D) |
Checks if the camera can scan to the given target
|
![]() | CanScan(Double, Vector3D) |
Checks if the camera can scan to the given direction and distance.
|
![]() | GetActions | (Inherited from IMyTerminalBlock.) |
![]() | GetActionWithName | (Inherited from IMyTerminalBlock.) |
![]() | GetInventory | (Inherited from IMyEntity.) |
![]() | GetInventory(Int32) | (Inherited from IMyEntity.) |
![]() | GetOwnerFactionTag | (Inherited from IMyCubeBlock.) |
![]() | GetPlayerRelationToOwner | Obsolete. (Inherited from IMyCubeBlock.) |
![]() | GetPosition | (Inherited from IMyEntity.) |
![]() | GetProperties | (Inherited from IMyTerminalBlock.) |
![]() | GetProperty | (Inherited from IMyTerminalBlock.) |
![]() | GetUserRelationToOwner | (Inherited from IMyCubeBlock.) |
![]() | HasLocalPlayerAccess | (Inherited from IMyTerminalBlock.) |
![]() | HasPlayerAccess | (Inherited from IMyTerminalBlock.) |
![]() | Raycast(Vector3D) |
Does a raycast to the given point.
Will return an empty struct if distance or angle are out of bounds.
|
![]() | Raycast(Double, Vector3D) |
Does a raycast in the given direction.
Will return an empty struct if distance or angle are out of bounds.
|
![]() | Raycast(Double, Single, Single) |
Does a raycast in the direction the camera is facing. Pitch and Yaw are in degrees.
Will return an empty struct if distance or angle are out of bounds.
|
![]() | RequestEnable | Obsolete. (Inherited from IMyFunctionalBlock.) |
![]() | SearchActionsOfName | (Inherited from IMyTerminalBlock.) |
![]() | SetCustomName(String) | Obsolete. (Inherited from IMyTerminalBlock.) |
![]() | SetCustomName(StringBuilder) | Obsolete. (Inherited from IMyTerminalBlock.) |
![]() | TimeUntilScan |
Returns the number of milliseconds until the camera can do a raycast of the given distance.
|
![]() | UpdateIsWorking | Obsolete. (Inherited from IMyCubeBlock.) |
![]() | UpdateVisual | Obsolete. (Inherited from IMyCubeBlock.) |
Name | Description | |
---|---|---|
![]() | AvailableScanRange |
The maximum distance that this camera can scan, based on the time since the last scan.
|
![]() | BlockDefinition | (Inherited from IMyCubeBlock.) |
![]() | CheckConnectionAllowed | (Inherited from IMyCubeBlock.) |
![]() | Components | (Inherited from IMyEntity.) |
![]() | CubeGrid | (Inherited from IMyCubeBlock.) |
![]() | CustomData |
Gets or sets the Custom Data string.
NOTE: Only use this for user input. For storing large mod configs, create your own MyModStorageComponent
(Inherited from IMyTerminalBlock.) |
![]() | CustomInfo | (Inherited from IMyTerminalBlock.) |
![]() | CustomName | (Inherited from IMyTerminalBlock.) |
![]() | CustomNameWithFaction | (Inherited from IMyTerminalBlock.) |
![]() | DefinitionDisplayNameText | (Inherited from IMyCubeBlock.) |
![]() | DetailedInfo | (Inherited from IMyTerminalBlock.) |
![]() | DisassembleRatio | (Inherited from IMyCubeBlock.) |
![]() | DisplayName | (Inherited from IMyEntity.) |
![]() | DisplayNameText | (Inherited from IMyCubeBlock.) |
![]() | Enabled | (Inherited from IMyFunctionalBlock.) |
![]() | EnableRaycast |
When this is true, the available raycast distance will count up, and power usage is increased.
|
![]() | EntityId | (Inherited from IMyEntity.) |
![]() | HasInventory | (Inherited from IMyEntity.) |
![]() | InventoryCount | (Inherited from IMyEntity.) |
![]() | IsActive |
Determines whether this camera is currently in use.
|
![]() | IsBeingHacked | (Inherited from IMyCubeBlock.) |
![]() | IsFunctional | (Inherited from IMyCubeBlock.) |
![]() | IsWorking | (Inherited from IMyCubeBlock.) |
![]() | Mass | (Inherited from IMyCubeBlock.) |
![]() | Max | (Inherited from IMyCubeBlock.) |
![]() | Min | (Inherited from IMyCubeBlock.) |
![]() | Name | (Inherited from IMyEntity.) |
![]() | NumberInGrid | (Inherited from IMyCubeBlock.) |
![]() | Orientation | (Inherited from IMyCubeBlock.) |
![]() | OwnerId | (Inherited from IMyCubeBlock.) |
![]() | Position | (Inherited from IMyCubeBlock.) |
![]() | RaycastConeLimit |
Returns the maximum positive angle you can apply for pitch and yaw.
|
![]() | RaycastDistanceLimit |
Returns the maximum distance you can request a raycast. -1 means infinite.
|
![]() | ShowInTerminal | (Inherited from IMyTerminalBlock.) |
![]() | ShowInToolbarConfig | (Inherited from IMyTerminalBlock.) |
![]() | ShowOnHUD | (Inherited from IMyTerminalBlock.) |
![]() | WorldAABB | (Inherited from IMyEntity.) |
![]() | WorldAABBHr | (Inherited from IMyEntity.) |
![]() | WorldMatrix | (Inherited from IMyEntity.) |
![]() | WorldVolume | (Inherited from IMyEntity.) |
![]() | WorldVolumeHr | (Inherited from IMyEntity.) |