Constraintクラス
ひとことで言うと
Constraintは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):The base class for constraint-based objects.
クラスの関係
受け継いでいるクラス:Object → Instance → Constraint
このクラスを受け継ぐクラス:AnimationConstraint、AlignOrientation、AlignPosition、AngularVelocity、BallSocketConstraint、HingeConstraint、LineForce、LinearVelocity、PlaneConstraint、RigidConstraint、RodConstraint、RopeConstraint、SlidingBallConstraint、SpringConstraint、Torque、TorsionSpringConstraint、UniversalConstraint、VectorForce
プロパティ(6)
| 名前と書き方 | 説明 |
|---|---|
ActiveConstraint.Active: boolean | Indicates if the constraint is currently active in the world. |
Attachment0Constraint.Attachment0: Attachment | The Attachment that is connected to Constraint.Attachment1. |
Attachment1Constraint.Attachment1: Attachment | The Attachment that is connected to Constraint.Attachment0. |
ColorConstraint.Color: BrickColor | The color of the constraint. |
EnabledConstraint.Enabled: boolean | Toggles whether or not the constraint is enabled. |
VisibleConstraint.Visible: boolean | Toggles the constraint's visibility. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(Constraint)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。