Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix variadic CFrame methods #726

Merged
merged 6 commits into from
Jul 22, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 24 additions & 36 deletions content/en-us/reference/engine/datatypes/CFrame.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -743,120 +743,108 @@ methods:
deprecation_message: ''
- name: CFrame:ToWorldSpace
summary: |
Returns one or more `Datatype.CFrame` objects transformed from object to
world space.
Recives one or more `Datatype.CFrame` objects and returns them transformed from object to world space.
IgnisRBX marked this conversation as resolved.
Show resolved Hide resolved
description: |
Returns one or more `Datatype.CFrame` objects transformed from object to
world space. Equivalent to:
Receives one or more `Datatype.CFrame` objects and returns them transformed from object to world space. Equivalent to:

`CFrame * cf`
parameters:
- name: cf
- name: ...
type: CFrame
Ketasaja marked this conversation as resolved.
Show resolved Hide resolved
default:
summary: ''
returns:
- type: CFrame
- type: ...CFrame
Ketasaja marked this conversation as resolved.
Show resolved Hide resolved
summary: ''
code_samples: []
tags: []
deprecation_message: ''
- name: CFrame:ToObjectSpace
summary: |
Returns one or more `Datatype.CFrame` objects transformed from world to
object space.
Receives one or more `Datatype.CFrame` objects and returns them transformed from world to object space.
description: |
Returns one or more `Datatype.CFrame` objects transformed from world to
object space. Equivalent to:
Receives one or more `Datatype.CFrame` objects and returns them transformed from world to object space. Equivalent to:

`CFrame:Inverse() * cf`
parameters:
- name: cf
- name: ...
type: CFrame
default:
summary: ''
returns:
- type: CFrame
- type: ...CFrame
summary: ''
code_samples: []
tags: []
deprecation_message: ''
- name: CFrame:PointToWorldSpace
summary: |
Returns one or more `Datatype.Vector3` objects transformed from object to
world space.
Receives one or more `Datatype.Vector3` objects and returns them transformed from object to world space.
description: |
Returns one or more `Datatype.Vector3` objects transformed from object to
world space. Equivalent to:
Receives one or more `Datatype.Vector3` objects and returns them transformed from object to world space. Equivalent to:

`CFrame * v3`
parameters:
- name: v3
- name: ...
type: Vector3
default:
summary: ''
returns:
- type: Vector3
- type: ...Vector3
summary: ''
code_samples: []
tags: []
deprecation_message: ''
- name: CFrame:PointToObjectSpace
summary: |
Returns one or more `Datatype.Vector3` objects transformed from world to
object space.
Receives one or more `Datatype.Vector3` objects and returns them transformed from world to object space.
description: |
Returns one or more `Datatype.Vector3` objects transformed from world to
object space. Equivalent to:
Receives one or more `Datatype.Vector3` objects and returns them transformed from world to object space. Equivalent to:

`CFrame:Inverse() * v3`
parameters:
- name: v3
- name: ...
type: Vector3
default:
summary: ''
returns:
- type: Vector3
- type: ...Vector3
summary: ''
code_samples: []
tags: []
deprecation_message: ''
- name: CFrame:VectorToWorldSpace
summary: |
Returns one or more `Datatype.Vector3` objects rotated from object to
world space.
Receives one or more `Datatype.Vector3` objects and returns them rotated from object to world space.
description: |
Returns one or more `Datatype.Vector3` objects rotated from object to
world space. Equivalent to:
Receives one or more `Datatype.Vector3` objects and returns them rotated from object to world space. Equivalent to:

`(CFrame - CFrame.Position) * v3`
parameters:
- name: v3
- name: ...
type: Vector3
default:
summary: ''
returns:
- type: Vector3
- type: ...Vector3
summary: ''
code_samples: []
tags: []
deprecation_message: ''
- name: CFrame:VectorToObjectSpace
summary: |
Returns one or more `Datatype.Vector3` objects rotated from world to
object space.
Receives one or more `Datatype.Vector3` objects and returns them rotated from world to object space.
description: |
Returns one or more `Datatype.Vector3` objects rotated from world to
object space. Equivalent to:
Receives one or more `Datatype.Vector3` objects and returns them rotated from world to object space. Equivalent to:

`(CFrame:Inverse() - CFrame:Inverse().Position) * v3`
parameters:
- name: v3
- name: ...
type: Vector3
default:
summary: ''
returns:
- type: Vector3
- type: ...Vector3
summary: ''
code_samples: []
tags: []
Expand Down
Loading