class ShapeSource
Part of Debug Shape API definition
Constructors 1
proto private void ~Shape()don't call destructor directly. Use Destroy() instead
Methods 16
proto native void GetMatrix(out vector mat[4])proto native void SetMatrix(vector mat[4])Referenced by CameraToolsMenuClient.OnRPC(), Car.DebugFreeAreaAtDoor(), CfgPlayerRestrictedAreaHandler.DrawBoxesDebug()
Show 10 more
, ClaymoreMine.DrawDamageZone(), ComponentEntityDebug.OnDrawing(), Construction.DrawDebugCollisionBox(), EntityPlacementCallback.OnDebug(), Hologram.DrawDebugCollisionBox(), PlayerBase.DiagOnPostFrame(), SceneObject.EditorShapeUpdatePos(), Transport.DebugFreeAreaAtDoor(), Trigger.DrawDebugShape(), and WeaponLiftDiag.DrawDiag()proto native void SetDirection(vector direction)proto native void SetPosition(vector position)Referenced by CylinderTrigger.DrawDebugShape()
proto native void SetColor(int color)proto native void SetFlags(ShapeFlags flags)proto native void Destroy()Referenced by CameraToolsMenuClient.~CameraToolsMenuClient(), CameraToolsMenuClient.OnRPC(), CfgPlayerRestrictedAreaHandler.DrawBoxesDebug()
Show 22 more
, CfgPlayerRestrictedAreaHandler.DrawPolygonLinesDebug(), ClaymoreMine.RemoveDebugVisuals(), ComponentEnergyManager.~ComponentEnergyManager(), ComponentEnergyManager.DebugUpdate(), ComponentEnergyManager.RefreshDebug(), ComponentEnergyManager.UnplugDevice(), ComponentEntityDebug.DebugBBoxDelete(), ComponentEntityDebug.DebugBBoxDraw(), ComponentEntityDebug.DebugDirectionDelete(), ComponentEntityDebug.DebugDirectionDraw(), Construction.DestroyDebugCollisionBox(), Debug.DestroyAllShapes(), Debug.RemoveShape(), FireworksLauncherClientEvent.OnExplode(), Hologram.DestroyDebugCollisionBox(), PluginDiagMenu.CheckVehicleGetOutBox(), PluginDiagMenuClient.UpdateMiscVehicleGetOutBox(), PluginItemDiagnostic.~PluginItemDiagnostic(), PluginItemDiagnostic.OnUpdate(), SceneObject.EditorShapeRemove(), ScriptConsoleItemsTab.DrawItemsClear(), and VehicleFlippedContext.Reset()Referenced by Debug.DrawBoxEx(), Debug.DrawCube(), EntityPlacementCallback.OnDebug()
Show 3 more
, CreateMatrix(), Transport.DetectFlippedUsingSurface(), and WeaponLiftDiag.DrawDiag()proto static native Shape CreateLines(int color, ShapeFlags flags, vector p[], int num)proto static native Shape CreateTris(int color, ShapeFlags flags, vector p[], int num)proto static native Shape CreateSphere(int color, ShapeFlags flags, vector origin, float radius)proto static native Shape CreateFrustum(float horizontalAngle, float verticalAngle, float length, int color, ShapeFlags flags)Referenced by Debug.DrawFrustum()