// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// Function table for functions on shapes /// /// /// C++: /// Jolt/Physics/Collision/Shape/Shape.h:167 ///
/// class ShapeFunctions ///
///
[InteropHandle] public readonly partial struct ShapeFunctions : IDisposable { public static ShapeFunctions Create() => Jolt.PInvoke.ShapeFunctions_Create(); /// /// /// Get an entry in the registry for a particular sub type /// /// /// C++: /// Jolt/Physics/Collision/Shape/Shape.h:177 ///
/// static inline ShapeFunctions & sGet(EShapeSubType inSubType) ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// public static ShapeFunctions Get(ShapeSubType subType) => Jolt.PInvoke.ShapeFunctions_Get(subType); /// /// /// Color of the shape when drawing /// /// /// C++: /// Jolt/Physics/Collision/Shape/Shape.h:174 ///
/// Color mColor = Color::sBlack ///
///
public uint GetColor() => Jolt.PInvoke.ShapeFunctions_GetColor(this); public void Dispose() => Jolt.PInvoke.ShapeFunctions_Destroy(this); } }