@@ -9,7 +9,7 @@
|
||||
/// A box-shaped primitive collider.
|
||||
/// </summary>
|
||||
/// <seealso cref="Collider" />
|
||||
API_CLASS(Attributes = "ActorContextMenu(\"New/Physics/Box Collider\")") class FLAXENGINE_API BoxCollider : public Collider
|
||||
API_CLASS(Attributes="ActorContextMenu(\"New/Physics/Box Collider\")") class FLAXENGINE_API BoxCollider : public Collider
|
||||
{
|
||||
DECLARE_SCENE_OBJECT(BoxCollider);
|
||||
private:
|
||||
@@ -20,9 +20,7 @@ public:
|
||||
/// <summary>
|
||||
/// Gets the size of the box, measured in the object's local space.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The box size will be scaled by the actor's world scale.
|
||||
/// </remarks>
|
||||
/// <remarks>The box size will be scaled by the actor's world scale. </remarks>
|
||||
API_PROPERTY(Attributes="EditorOrder(100), DefaultValue(typeof(Vector3), \"100,100,100\"), EditorDisplay(\"Collider\")")
|
||||
FORCE_INLINE Float3 GetSize() const
|
||||
{
|
||||
@@ -32,9 +30,7 @@ public:
|
||||
/// <summary>
|
||||
/// Sets the size of the box, measured in the object's local space.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The box size will be scaled by the actor's world scale.
|
||||
/// </remarks>
|
||||
/// <remarks>The box size will be scaled by the actor's world scale. </remarks>
|
||||
API_PROPERTY() void SetSize(const Float3& value);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user