Trail
Trail : Instance
Overview
๋ฌผ์ฒด๊ฐ ์ด๋ํ ๋ ๋จ๊ธฐ๋ ์์(๊ถค์ ) ํจ๊ณผ๋ฅผ ์์ฑํ๋ ์ธ์คํด์ค๋ก, ๊ฒ๊ธฐ ํจ๊ณผ, ์คํผ๋ ๋ถ์คํธ, ๋ง๋ฒ ๊ถค์ , ์ด์ ํ์ ๊ฐ์ ํจ๊ณผ๋ฅผ ๋ง๋ค ๋ ์ฌ์ฉ๋ฉ๋๋ค.
Part์ ๊ฐ์ ํน์ ์ค๋ธ์ ํธ์ ์์์ผ๋ก ์ค์ ํ์ฌ ํด๋น ์ค๋ธ์ ํธ์ ์์ง์์ ๋ฐ๋ผ ํจ๊ณผ๋ฅผ ํ์ํ ์ ์์ต๋๋ค.
Properties
Color
ColorSequence
Trail์ด ์์ฑ๋๊ณ ์ฌ๋ผ์ง ๋ ์ด๋ค ์์์ผ๋ก ์ ์ง์ ์ผ๋ก ํ์๋ ์ง ColorSequence๋ฅผ ์ด์ฉํ์ฌ ์ค์ ํ ์ ์์ต๋๋ค.
Trail์ ํ ์ค์ฒ๊ฐ ์ ์ฉ๋ ๊ฒฝ์ฐ, ํด๋น ํ ์ค์ฒ ์์ ์ด ์์์ด ์ค๋ฒ๋ ์ด๋์ด ํํ๋ฉ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.Color = ColorSequence.new(Color3.fromRGB(255, 0, 0))
ColorTexture
string
Trail์ ํํํ ์์ ํ ์ค์ฒ๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.ColorTexture = "ovdrassetid://1234"
ColorTextureLength
number
Trail์ ์ ์ฉ๋ ์์ ํ ์ค์ฒ์ ๊ธธ์ด๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.ColorTextureLength = 5
ColorTextureSpeed
number
Trail์ ์ ์ฉ๋ ์์ ํ ์ค์ฒ์ ์๋๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.ColorTextureSpeed = 10
AlphaTexture
string
Trail์ ํํํ ์ํ ํ ์ค์ฒ๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.AlphaTexture = "ovdrassetid://1234"
AlphaTextureLength
number
Trail์ ์ ์ฉ๋ ์ํ ํ ์ค์ฒ์ ๊ธธ์ด๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.AlphaTextureLength = 5
AlphaTextureSpeed
number
Trail์ ์ ์ฉ๋ ์ํ ํ ์ค์ฒ์ ์๋๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.AlphaTextureSpeed = 10
Transparency
NumberSequence
Trail์ด ์์ฑ๋๊ณ ์ฌ๋ผ์ง ๋ NumberSequence๋ฅผ ์ฌ์ฉํ์ฌ ํฌ๋ช ๋๊ฐ ์ ์ง์ ์ผ๋ก ๋ณํํ๋๋ก ์ค์ ํ ์ ์์ต๋๋ค.
Code Samples
local Trail = script.Parent
Trail.Transparency = NumberSequence.new(0.8)
Enabled
bool
Trail์ ํ์ ์ฌ๋ถ๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
Trail์ ๊ถค์ ์ด ๋จ์์๋ ์ํ์์ Enabled๋ฅผ false๋ก ๋ณ๊ฒฝํ๋ฉด ์ฆ์ ์ฌ๋ผ์ง๋๋ค.
Code Samples
local Trail = script.Parent
Trail.Enabled = false
Lifetime
number
Trail์ ๊ถค์ ์ด ๋ช ์ด ๋์ ์ ์ง๋ ์ง๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.LifeTime = 0.5
Width
number
Trail์ ๋๋น๋ฅผ ์ง์ ํ๋ ์์ฑ์ ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.Width = 100
WidthScale
NumberSequence
Trail์ ๋๋น๋ฅผ NumberSequence๋ฅผ ์ฌ์ฉํ์ฌ ์ ์ง์ ์ผ๋ก ๋ณํํ๋๋ก ์ค์ ํ ์ ์์ต๋๋ค.
Code Samples
local Trail = script.Parent
Trail.WidthScale = NumberSequence.new(3)
Offset
Vector3
Trail์ ์์น๋ฅผ ๋ถ๋ชจ ๊ฐ์ฒด๋ฅผ ๊ธฐ์ค์ผ๋ก ์๋์ ์ผ๋ก ์กฐ์ ํ๋ ์์ฑ์ ๋๋ค.
Code Samples
local Trail = script.Parent
Trail.Offset = Vector3.new(0, 100, 0)
Methods
Events
See also
VFXLast updated