Improve support for fixed-arrays in api fields
This commit is contained in:
@@ -9,7 +9,7 @@ class PhysicsColliderActor;
|
||||
/// <summary>
|
||||
/// Contains a contact point data for the collision location.
|
||||
/// </summary>
|
||||
API_STRUCT() struct FLAXENGINE_API ContactPoint
|
||||
API_STRUCT(NoDefault) struct FLAXENGINE_API ContactPoint
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(ContactPoint);
|
||||
|
||||
@@ -41,7 +41,7 @@ struct TIsPODType<ContactPoint>
|
||||
/// <summary>
|
||||
/// Contains a collision information passed to the OnCollisionEnter/OnCollisionExit events.
|
||||
/// </summary>
|
||||
API_STRUCT() struct FLAXENGINE_API Collision
|
||||
API_STRUCT(NoDefault) struct FLAXENGINE_API Collision
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(Collision);
|
||||
|
||||
@@ -81,7 +81,7 @@ API_STRUCT() struct FLAXENGINE_API Collision
|
||||
/// <summary>
|
||||
/// The contacts locations.
|
||||
/// </summary>
|
||||
API_FIELD(Private, NoArray) ContactPoint Contacts[COLLISION_NAX_CONTACT_POINTS];
|
||||
API_FIELD(Internal, NoArray) ContactPoint Contacts[COLLISION_NAX_CONTACT_POINTS];
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user